Questions tagged [secondary-selection]
The secondary-selection tag has no usage guidance.
4
questions
1
vote
1
answer
18
views
Secondary Selection beginning end
How can I programmatically define a secondary selection with beginning and end defined?;)
I try to look for this, but only find mouse usage;)
Any pointers?;)
4
votes
1
answer
269
views
What is this permanently highlighted region?
I accidentally pressed some keys in a buffer and created the permanently highlighted region shown below. What is this region called, and how can I get rid of it?
1
vote
2
answers
736
views
What's the most efficient, idiomatic way to paste-and-replace in Emacs?
I often do something like this:
Copy some stuff
Go to where I need to paste it
Paste it (C-y)
Kill the rest of the line (C-k)
Select what I just pasted, and copy it again
Repeat steps 2-5
The whole "...
0
votes
2
answers
149
views
How to check if there exists a secondary selection?
Emacs has a secondary selection (not the X11 selection, rather the mouse-secondary-overlay).
On my system holding Alt-LMB dragging sets it.
How would I check if there this selection is set in elisp?
...