File: select.el.html

Based partially on earlier release by Lucid.

The functionality here is divided in two parts:
- Low-level: gui-get-selection, gui-set-selection, gui-selection-owner-p,
  gui-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 (9)

gui--last-selected-text-clipboardThe value of the CLIPBOARD selection last seen.
gui--last-selected-text-primaryThe value of the PRIMARY selection last seen.
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 (36)

gui--selection-value-internal(TYPE)
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)
x-get-clipboard()
x-get-selection(&optional TYPE DATA-TYPE)
x-get-selection-value()
x-select-text(TEXT)
x-selection(&optional TYPE DATA-TYPE)
x-set-selection(TYPE DATA)
xselect--encode-string(TYPE STR &optional CAN-MODIFY)
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-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-user(SELECTION TYPE SIZE)

Defined faces (0)