unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ole Laursen" <olau@hardworking.dk>
To: bug-gnu-emacs@gnu.org
Cc: olau@hardworking.dk
Subject: bug#1765: Copy/paste inconsistent with other X apps
Date: Fri, 2 Jan 2009 16:41:46 +0100	[thread overview]
Message-ID: <ac6fcf750901020741n4451a0a4h88e2dde3f926f8f9@mail.gmail.com> (raw)

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/







             reply	other threads:[~2009-01-02 15:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-02 15:41 Ole Laursen [this message]
2009-01-04 21:41 ` bug#1765: Copy/paste inconsistent with other X apps Richard M Stallman
2009-01-05 12:52   ` Ole Laursen
2009-01-05 13:00     ` Ole Laursen
  -- strict thread matches above, loose matches on Subject: below --
2009-01-04  3:33 Chong Yidong
2009-01-04  8:09 ` Sven Joachim
2009-01-04 16:29   ` Ole Laursen
2009-01-05  2:29     ` Stefan Monnier
2009-01-05 12:59       ` Ole Laursen
     [not found] ` <mailman.3895.1231057410.26697.bug-gnu-emacs@gnu.org>
2009-01-05 12:15   ` Thomas E. Dickey
2009-01-25 23:58 David De La Harpe Golden
2009-08-07 19:31 Ole Laursen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac6fcf750901020741n4451a0a4h88e2dde3f926f8f9@mail.gmail.com \
    --to=olau@hardworking.dk \
    --cc=1765@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).