GNU bug report logs -
#1765
Copy/paste inconsistent with other X apps
Previous Next
Full log
Message #57 received at 1765 <at> emacsbugs.donarmstrong.com (full text, mbox):
Darn, this went to the wrong address.
2009/1/5 Ole Laursen <olau <at> hardworking.dk>:
> 2009/1/4 Richard M Stallman <rms <at> gnu.org>:
>> 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 a very useful feature. It means, for instance, that you can use
>> C-y in Emacs to insert text that was selected in other apps.
>
> But the thing is that this goes against the defacto standard - and it
> is there for good reasons. Standard paste/yank always only inserts
> text that was explicitly copied to the clipboard. If you read this
> short document
>
> http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki
>
> it's very clear on this.
>
> The problem with not following the spec is that text selections are
> used for a lot of stuff. If I patiently select a piece of text with
> the mouse and press C-c, I expect to be able use that piece of text
> later - even if I have selected another piece of text, or just clicked
> an input field with automatic text selection.
>
> Imagine having the kill ring filled up with random stuff every time
> you press C-space and move the cursor. That's what Emacs is currently
> doing with clips from other programs.
>
> --
> Ole Laursen
> http://people.iola.dk/olau/
>
--
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.