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-clipboard | The value of the CLIPBOARD selection last seen. |
gui--last-selected-text-primary | The value of the PRIMARY selection last seen. |
gui--last-selection-timestamp-clipboard | The timestamp of the CLIPBOARD selection last seen. |
gui--last-selection-timestamp-primary | The timestamp of the PRIMARY selection last seen. |
gui-last-cut-in-clipboard | Whether or not the last call to ‘interprogram-cut-function’ owned CLIPBOARD. |
gui-last-cut-in-primary | Whether or not the last call to ‘interprogram-cut-function’ owned PRIMARY. |
lost-selection-last-region-buffer | The last buffer from which the region was selected. |
lost-selection-mode | Non-nil if Lost-Selection mode is enabled. |
lost-selection-mode-hook | Hook run after entering or leaving ‘lost-selection-mode’. |
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. |