all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 47032@debbugs.gnu.org, Drew Adams <drew.adams@oracle.com>
Subject: bug#47032: 26.3; doc of `interprogram-paste-function'
Date: Mon, 20 Jun 2022 18:03:42 +0800	[thread overview]
Message-ID: <871qvjps75.fsf@yahoo.com> (raw)
In-Reply-To: <83blbrp3rq.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 10 Mar 2021 14:55:05 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> It's hard to clarify what the manual says because this is not
> implemented yet in Emacs, see xselect.c (search for QMULTIPLE).
>
> In a nutshell, this is something we hope will be implemented some day,
> and if so, probably only for X selections.

The MULTIPLE target is unrelated to the question at hand, as it only
provides a more efficient way for clients to request multiple targets of
the same selection at once.  Emacs also implements the MULTIPLE target,
but only for requests from other clients.

The ICCCM doesn't define a specific "list" format, but it does define
separators for several data types.  If you want to respond to a
selection request with a list of file names, then add a selection
converter to `selection-converter-alist' that returns a cons of
`C_STRING' and the encoded file names in a single unibyte string,
separated by NULL bytes.





      parent reply	other threads:[~2022-06-20 10:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 23:46 bug#47032: 26.3; doc of `interprogram-paste-function' Drew Adams
2021-03-10 12:55 ` 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 [this message]

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

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

  git send-email \
    --in-reply-to=871qvjps75.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=47032@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.