Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [secondary-selection]

The tag has no usage guidance.

0
votes
1answer
219 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
69 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? ...