Variable: selection-converter-alist
selection-converter-alist is a variable without a source file.
Value
Large value
((TEXT . xselect-convert-to-string)
(COMPOUND_TEXT . xselect-convert-to-string)
(STRING . xselect-convert-to-string)
(UTF8_STRING . xselect-convert-to-string)
(text/plain . xselect-convert-to-string)
(text/plain\;charset=utf-8 . xselect-convert-to-string)
(text/uri-list xselect-uri-list-available-p
. xselect-convert-to-text-uri-list)
(text/x-xdnd-username xselect-dnd-target-available-p
. xselect-convert-to-username)
(FILE xselect-uri-list-available-p . xselect-convert-to-xm-file)
(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)
(XmTRANSFER_SUCCESS xselect-dnd-target-available-p
. xselect-convert-xm-special)
(XmTRANSFER_FAILURE xselect-dnd-target-available-p
. xselect-convert-xm-special)
(_DT_NETFILE xselect-dt-netfile-available-p
. xselect-convert-to-dt-netfile))
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-internal).
On X Windows, the function can also be a cons of (PREDICATE
. FUNCTION), where PREDICATE determines whether or not the selection
type will appear in the list of selection types available to other
programs, and FUNCTION is the function which is actually called.
PREDICATE is called with the same arguments as FUNCTION, and should
return a non-nil value if the data type is to appear in that list.
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.