File: select.el.html

Based partially on earlier release by Lucid.

The functionality here is divided in two parts:
- Low-level: gui-backend-get-selection, gui-backend-set-selection,
  gui-backend-selection-owner-p, gui-backend-selection-exists-p are
  the backend-dependent functions meant to access various kinds of
  selections (CLIPBOARD, PRIMARY, SECONDARY).
- Higher-level: gui-select-text and gui-selection-value go together to
  access the general notion of "GUI selection" for interoperation with other
  applications. This can use either the clipboard or the primary selection,
  or both or none according to select-enable-clipboard/primary. These are
  the default values of interprogram-cut/paste-function.
  Additionally, there's gui-get-primary-selection which is used to get the
  PRIMARY selection, specifically for mouse-yank-primary.

Defined variables (16)

gui--last-selected-text-clipboardThe value of the CLIPBOARD selection last seen.
gui--last-selected-text-primaryThe value of the PRIMARY selection last seen.
gui--last-selection-timestamp-clipboardThe timestamp of the CLIPBOARD selection last seen.
gui--last-selection-timestamp-primaryThe timestamp of the PRIMARY selection last seen.
gui-last-cut-in-clipboardWhether or not the last call to ‘interprogram-cut-function’ owned CLIPBOARD.
gui-last-cut-in-primaryWhether or not the last call to ‘interprogram-cut-function’ owned PRIMARY.
lost-selection-last-region-bufferThe last buffer from which the region was selected.
lost-selection-modeNon-nil if Lost-Selection mode is enabled.
lost-selection-mode-hookHook run after entering or leaving ‘lost-selection-mode’.
next-selection-coding-systemCoding system for the next communication with other programs.
select-enable-clipboardNon-nil means cutting and pasting uses the clipboard.
select-enable-primaryNon-nil means cutting and pasting uses the primary selection.
selection-coding-systemCoding system for communicating with other programs.
x-select-enable-clipboardNon-nil means cutting and pasting uses the clipboard.
x-select-enable-primaryNon-nil means cutting and pasting uses the primary selection.
x-select-request-typeData type request for X selection.

Defined functions (51)

gui--clipboard-selection-unchanged-p(TEXT)
gui--primary-selection-unchanged-p(TEXT)
gui--selection-value-internal(TYPE)
gui--set-last-clipboard-selection(TEXT)
gui--set-last-primary-selection(TEXT)
gui--valid-simple-selection-p(DATA)
gui-backend-get-selection(SELECTION-SYMBOL TARGET-TYPE)
gui-backend-selection-exists-p(SELECTION)
gui-backend-selection-owner-p(SELECTION)
gui-backend-set-selection(SELECTION VALUE)
gui-get-primary-selection()
gui-get-selection(&optional TYPE DATA-TYPE)
gui-select-text(TEXT)
gui-set-selection(TYPE DATA)
lost-selection-function(SELECTION)
lost-selection-mode(&optional ARG)
lost-selection-post-select-region-function(TEXT)
x-get-clipboard()
x-get-selection(&optional TYPE DATA-TYPE)
x-get-selection-value()
x-select-text(TEXT)
x-set-selection(TYPE DATA)
xselect--encode-string(TYPE STR &optional CAN-MODIFY PREFER-STRING-TO-C-STRING)
xselect--int-to-cons(N)
xselect--selection-bounds(VALUE)
xselect-convert-to-atom(SELECTION TYPE VALUE)
xselect-convert-to-charpos(SELECTION TYPE VALUE)
xselect-convert-to-class(SELECTION TYPE SIZE)
xselect-convert-to-colno(SELECTION TYPE VALUE)
xselect-convert-to-delete(SELECTION TYPE VALUE)
xselect-convert-to-dt-netfile(SELECTION TYPE VALUE)
xselect-convert-to-filename(SELECTION TYPE VALUE)
xselect-convert-to-host(SELECTION TYPE SIZE)
xselect-convert-to-identity(SELECTION TYPE VALUE)
xselect-convert-to-integer(SELECTION TYPE VALUE)
xselect-convert-to-length(SELECTION TYPE VALUE)
xselect-convert-to-lineno(SELECTION TYPE VALUE)
xselect-convert-to-name(SELECTION TYPE SIZE)
xselect-convert-to-os(SELECTION TYPE SIZE)
xselect-convert-to-save-targets(SELECTION TYPE VALUE)
xselect-convert-to-string(SELECTION TYPE VALUE)
xselect-convert-to-targets(SELECTION TYPE VALUE)
xselect-convert-to-text-uri-list(SELECTION TYPE VALUE)
xselect-convert-to-user(SELECTION TYPE SIZE)
xselect-convert-to-username(SELECTION TYPE VALUE)
xselect-convert-to-xm-file(SELECTION TYPE VALUE)
xselect-convert-xm-special(SELECTION TYPE VALUE)
xselect-dnd-target-available-p(SELECTION TYPE VALUE)
xselect-dt-netfile-available-p(SELECTION TYPE VALUE)
xselect-tt-net-file(FILE)
xselect-uri-list-available-p(SELECTION TYPE VALUE)

Defined faces (0)