Questions tagged [secondary-selection]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
56 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?
0
votes
1answer
293 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
2answers
86 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? ...