unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 47032@debbugs.gnu.org
Subject: bug#47032: 26.3; doc of `interprogram-paste-function'
Date: Tue, 9 Mar 2021 23:46:37 +0000	[thread overview]
Message-ID: <SA2PR10MB4474A27C739134C43C8E86D7F3929@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)

The doc string and (elisp) `Low-Level Kill Ring' say that the function
value of this var can return a "list of strings", to support window
systems that support multiple selections.

Is this a Lisp list of file-name strings?  What kind of multiselection
in MS Windows would result in such a list being obtained and returned
by the function value of the var?

I tried this in Windows Explorer, thinking that it might give me such a
list:

 1. Select all files in a folder (`C-a').  Or use Control + click to
    select several files.
 2. Shift + right-click and choose `Copy as Path'.

But (funcall interprogram-paste-function) then returns a string that's
the contatenation of the (absolute) file names, with each name enclosed
in " chars and with those double-quoted names separated by newline chars.

Is that what was meant by a "list of strings"?  I'm guessing no, and
that some method of obtaining a Lisp list of strings from multiselection
of file names is intended.  But what method, for example?

And if that really was what was meant by a "list of strings" then maybe
that doc could be clarified, because the way it is now I expected a Lisp
list of strings that are (absolute) file names.


In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19041
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''






             reply	other threads:[~2021-03-09 23:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 23:46 Drew Adams [this message]
2021-03-10 12:55 ` bug#47032: 26.3; doc of `interprogram-paste-function' Eli Zaretskii
2022-06-20  8:32   ` Lars Ingebrigtsen
2022-06-20 10:03   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SA2PR10MB4474A27C739134C43C8E86D7F3929@SA2PR10MB4474.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=47032@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).