Bug 819224 - emacs copy/paste changes are ugly
Summary: emacs copy/paste changes are ugly
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-05 18:56 UTC by Need Real Name
Modified: 2013-03-03 23:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-21 14:54:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2012-05-05 18:56:34 UTC
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
from  F16

Comment 1 Karel Klíč 2012-05-21 14:54:14 UTC
Hello,

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 help-gnu-emacs mailing list.  Here is its subscription form (and archives -- maybe the solution can be found there):

https://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Comment 2 Tom Hughes 2012-05-25 14:34:28 UTC
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.

Comment 3 Karel Klíč 2012-05-25 14:56:35 UTC
Thank you for posting the answer!

Comment 4 Need Real Name 2012-07-28 22:07:16 UTC
x-select-enable-primary=on
x-select-enable-clipboard=off
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.


Note You need to log in before you can comment on or make changes to this bug.