Questions tagged [secondary-selection]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

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?;)
Jason Hunter's user avatar
4 votes
1 answer

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?
built1n's user avatar
  • 143
1 vote
2 answers

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 "...
bright-star's user avatar
0 votes
2 answers

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? ...
ideasman42's user avatar
  • 8,556