copy/paste in Linux X11 and emacs 24
In linux, if copy/paste doesn't work with other apps, you need to add this line:
(setq x-select-enable-clipboard t)
in GNU Emacs 184.108.40.206, that var is set to t now.
In X11 (Linux), there are basically 2 major copy/paste mechanisms: ① primary selection. ② clipboard. By convention, when you select a text using mouse, the text is automatically put into the primary selection, and middle click will paste it. The “X11's clipboard” is similar to the clipboard in Mac or Windows. You copy/paste by menu or keyboard. The primary selection and clipboard are independent.
- (info "(elisp) Window System Selections")
- X Selections, Cut Buffers, and Kill Rings ≈ By Jamie Zawinski
. @ Source www.jwz.org
- X Window selection
Perm URL with updates: http://ergoemacs.org/emacs/emacs24_features.html