From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 15109@debbugs.gnu.org
Subject: bug#15109: 24.3.50; doc of `x-get-selection, `selection-converter-alist', `xselect-convert-to-*'
Date: Sun, 9 Feb 2014 18:47:39 -0800 (PST) [thread overview]
Message-ID: <4d178c6f-9c4d-4e41-88ad-41f719ff238e@default> (raw)
In-Reply-To: <87a9dzy9hk.fsf@building.gnus.org>
> > By "this" you apparently mean `x-get-selection'. So yes, part
> > 1 of this bug has been fixed. But part 2 has not been fixed.
> > `selection-converter-alist' certainly does not have "a huge doc
> > string now". Reopening.
>
> It certainly has a huge doc string on the trunk; see below.
>
> Windows issue?
>
> selection-converter-alist is a variable defined in `xselect.c'.
> Its value is shown below.
>
> Documentation:
> An alist associating X Windows selection-types with functions.
> These functions are called to convert the selection, with three
> args:
> the name of the selection (typically `PRIMARY', `SECONDARY', or
> `CLIPBOARD');
> a desired type to which the selection should be converted;
> and the local selection value (whatever was given to `x-own-
> selection').
>
> The function should return the value to send to the X server
> (typically a string). A return value of nil
> means that the conversion could not be done.
> A return value which is the symbol `NULL'
> means that a side-effect was executed,
> and there is no meaningful selection value.
>
> Value: ((TEXT . xselect-convert-to-string)
> (COMPOUND_TEXT . xselect-convert-to-string)
> (STRING . xselect-convert-to-string)
> (UTF8_STRING . xselect-convert-to-string)
> (TARGETS . xselect-convert-to-targets)
> (LENGTH . xselect-convert-to-length)
> (DELETE . xselect-convert-to-delete)
> (FILE_NAME . xselect-convert-to-filename)
> (CHARACTER_POSITION . xselect-convert-to-charpos)
> (LINE_NUMBER . xselect-convert-to-lineno)
> (COLUMN_NUMBER . xselect-convert-to-colno)
> (OWNER_OS . xselect-convert-to-os)
> (HOST_NAME . xselect-convert-to-host)
> (USER . xselect-convert-to-user)
> (CLASS . xselect-convert-to-class)
> (NAME . xselect-convert-to-name)
> (ATOM . xselect-convert-to-atom)
> (INTEGER . xselect-convert-to-integer)
> (SAVE_TARGETS . xselect-convert-to-save-targets)
> (_EMACS_INTERNAL . xselect-convert-to-identity))
next prev parent reply other threads:[~2014-02-10 2:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 6:49 bug#15109: 24.3.50; doc of `x-get-selection, `selection-converter-alist', `xselect-convert-to-*' Drew Adams
2014-02-08 5:14 ` Lars Ingebrigtsen
2014-02-10 0:27 ` Drew Adams
2014-02-10 2:41 ` Lars Ingebrigtsen
2014-02-10 2:47 ` Drew Adams [this message]
2014-02-10 2:49 ` Drew Adams
2014-02-10 2:54 ` Lars Ingebrigtsen
2014-02-10 3:09 ` Drew Adams
2014-02-10 17:23 ` Eli Zaretskii
[not found] <<c143941c-9b99-42a5-b605-bdd727a83333@default>
[not found] ` <<87r47e2nkm.fsf@building.gnus.org>
[not found] ` <<af33a046-8656-4b66-ac0d-dbde3c484e02@default>
[not found] ` <<87a9dzy9hk.fsf@building.gnus.org>
[not found] ` <<601544f2-1018-4a52-9aca-6b0d815ab7d9@default>
[not found] ` <<87y51jwuco.fsf@building.gnus.org>
[not found] ` <<63fb8060-d4e0-4a2b-a506-6c758acee56d@default>
[not found] ` <<83zjlyubjn.fsf@gnu.org>
2014-02-10 21:36 ` Drew Adams
2014-02-11 3:36 ` Eli Zaretskii
2014-02-11 3:50 ` Stefan Monnier
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=4d178c6f-9c4d-4e41-88ad-41f719ff238e@default \
--to=drew.adams@oracle.com \
--cc=15109@debbugs.gnu.org \
--cc=larsi@gnus.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 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.