GNU bug report logs - #1765
Copy/paste inconsistent with other X apps

Previous Next

Package: emacs;

Reported by: "Ole Laursen" <olau <at> hardworking.dk>

Date: Fri, 2 Jan 2009 15:50:03 UTC

Severity: wishlist

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Ole Laursen" <olau <at> hardworking.dk>
To: bug-gnu-emacs <at> gnu.org
Cc: olau <at> hardworking.dk
Subject: Copy/paste inconsistent with other X apps
Date: Fri, 2 Jan 2009 16:41:46 +0100
Hi!

In every other recent X app I have tried, copy/pasting works the way
that the mouse selection = copy and middle click = paste is seperate
from the C-c/C-v clipboard. This fits in with the description here:

  http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki
  http://www.jwz.org/doc/x-cut-and-paste.html

However, my Emacs 22.2.1 (started with emacs -Q) is confusing the two.
If I kill-ring-save "foo", select "bar" with the mouse and yank I get
"bar" instead of "foo". With the above spec, I should have gotten
"bar" only if I pressed M-w before yanking.

This is mostly annoying when pasting from another program, e.g. using
C-c to copy "foo" in the browser, then yanking the text in Emacs. If
you accidentally click the wrong place, the effort in selecting "foo"
is lost.

I think it makes sense to change the Emacs behaviour to make it a good
citizen in the free desktop. And it's arguably also more likely to
prevent loss of clips.

-- 
Ole Laursen
http://people.iola.dk/olau/





This bug report was last modified 13 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.