Questions tagged [secondary-selection]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
154 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?
user avatar
  • 133
1 vote
2 answers
545 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 "...
user avatar
0 votes
2 answers
120 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? ...
user avatar
  • 7,199