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: Tue, 17 Aug 2010 07:52:19 +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



Kenichi Handa skrev 2010-08-17 03.44:
In article<4C68FBF7.1080104@swipnet.se>, Jan Djärv<jan.h.d@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.





reply via email to

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