visual selection and X primary behavior
Linus Arver
linusarver at gmail.com
Sat Jul 26 18:56:56 CEST 2014
Hello all,
In regular Emacs (with Evil mode turned on, of course), I can (1) do
visual selection of a region, and it will automatically copy that
selection into the X primary selection buffer. This way, I can simply do
SHIFT+INSERT in another X program (e.g., Firefox) and I will paste the
selection that way. Conversely, I can (2) SHIFT+INSERT into Emacs/Evil
(in Insert mode), and it will paste whatever is in the X primary buffer.
However, behavior (1) does not work in terminal-mode Emacs (`emacs
-nw`), although behavior (2) works as expected. I have tried to work
around this by using my `"+y` macro which is enabled with
(define-key evil-normal-state-map ",y" "\"+y")
in my .emacs, but it fails with the message
After 0 kbd macro iterations: X selection unavailable for this frame
. Is this a bug in Evil or is it something in Emacs itself?
-L
More information about the implementations-list
mailing list