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-clipboard | The value of the CLIPBOARD selection last seen. |
gui--last-selected-text-primary | The value of the PRIMARY selection last seen. |
next-selection-coding-system | Coding system for the next communication with other programs. |
select-enable-clipboard | Non-nil means cutting and pasting uses the clipboard. |
select-enable-primary | Non-nil means cutting and pasting uses the primary selection. |
selection-coding-system | Coding system for communicating with other programs. |
x-select-enable-clipboard | Non-nil means cutting and pasting uses the clipboard. |
x-select-enable-primary | Non-nil means cutting and pasting uses the primary selection. |
x-select-request-type | Data type request for X selection. |