bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6774: Cut and paste with C-w/mouse-2 not working?


From: Jan Djärv
Subject: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Mon, 09 Aug 2010 19:19:53 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2



Stefan Monnier skrev 2010-08-09 13.43:
There's no analogue to the Emacs's ordinary (C-SPC) active regions in
other programs, and it's not even clear to me that it's good to set the
primary selection under most circumstances.  The original point of
transient mark mode is to let you mark out a stretch of text to to
operate on (e.g. comment, or search, or undo), and I don't know if it's
really correct for us to set the primary selection at the same time.

Indeed, I don't think it's good to do so.  The old behavior of setting
PRIMARY only when killing the text seems like the right behavior.
Why would we want to change that?


Because it would conflict with http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt, and most other X applications set PRIMARY without an explicit kill or copy. And because it is convinient to be able to
select text and then paste with middle button in another application.

Other applications do have active regions, like gedit and OpenOffice for 
example.

Please don't change this.

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]