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

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Sun, 1 Aug 2010 22:04:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #199 received at 6774 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Kenichi Handa <handa <at> m17n.org>
Cc: cyd <at> stupidchicken.com, monnier <at> iro.umontreal.ca, 6774 <at> debbugs.gnu.org,
	angelo.graziosi <at> alice.it
Subject: Re: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Tue, 17 Aug 2010 07:52:19 +0200

Kenichi Handa skrev 2010-08-17 03.44:
> In article<4C68FBF7.1080104 <at> swipnet.se>, Jan Djärv<jan.h.d <at> swipnet.se>  writes:
>
>> I though we where moving away from special cases?  Anyway, empty selection do
>> matter.  Consider this case:
>
>> I select a lot of code in another application.
>> I go to Emacs and set mark, then paste the code with mouse-2 and then M-x
>> indent-region.
>
>> With your scheme, mouse-2 would fail to paste, which would be a nasty surprise.
>
> Surely this is not good.  But which is a nastier surprise
> for new users, your case or my case below:
>
>>>>     (1) S-C-n
>>>>     (2) C-@ C-n
>>>> it's very confusing that they behave differently as to
>>>> selection.

They are both equally bad.  I think we should add a hook to redisplay that 
gets called whenever selection is non-zero.  Then that hook can do the right 
thing.

	Jan D.




This bug report was last modified 14 years and 343 days ago.

Previous Next


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