Red Hat Bugzilla – Bug 819224
emacs copy/paste changes are ugly
Last modified: 2013-03-03 18:03:09 EST
F17 has emacs-23.4 , which has copy/paste working like MS-Windows notepad style.
Many people this is extremely inconvenient.
Is there a way to switch it back, as it used to be for ages.
The only way I found to fix this is to
download, recompile & install emacs-23.3-9
the emacs package in Fedora mostly follows upstream changes, especially controversial changes such as the default behavior of text selection.
I'm not sure how to switch it back. You can ask on the firstname.lastname@example.org mailing list. Here is its subscription form (and archives -- maybe the solution can be found there):
The answer is to set "x-select-enable-primary" to true to have cut/paste set the X primary selection, and possibly to set "x-select-enable-clipboard" to nil if you don't want it to set the X clipboard selection.
Note that the first of these is essential if you use mouse-sel mode, or pasting of mouse selections won't work.
Thank you for posting the answer!
still not enough to get old selection style.
just an example:
open two emacs windows with the same file.
Start randomly marking a piece of text in first and second window.
After that in window 1 mark some piece of text
and try to paste it in window 2 using middle button of mouse.
Most likely you will get wrong text pasted.
The result is always correct if I do Alt-w after marking a text,
but many people want it as it was in X Window system for ages:
mark text, then paste using middle button.
Emacs Alt-w was a bonus to paste old selections.
How can I get rid of these new emacs changes and have it the way it was for ages.