[Top][All Lists]

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

Re: binding S-mouse-1

From: Noam Postavsky
Subject: Re: binding S-mouse-1
Date: Sun, 28 May 2017 11:41:36 -0400

On Sun, May 28, 2017 at 11:18 AM, Eli Zaretskii <address@hidden> wrote:
>> Date: Sun, 28 May 2017 19:06:48 +0900 (JST)
>> From: Tak Kunihiro <address@hidden>
>> Keys <S-right> and <S-left> extend region.  I think that [S-mouse-1]
>> should behave similar by default.
>> I propose to bind mouse-appearance-menu to super instead of shift,
>>   (global-set-key [S-down-mouse-1] 'mouse-appearance-menu)
>> and bind following to let shift click to extend region on mouse.el.
>>   (global-set-key [S-down-mouse-1] 'ignore)
>>   (global-set-key [S-mouse-1] 'mouse-save-then-kill)
> Isn't that backward-incompatible change in behavior?
> FWIW, I use S-down-mouse-1 quite a lot, especially when testing
> various display-related bug reports and questions.  Replacing it with
> super, for which I have no key on my keyboard, would need both more
> customizations and re-teaching my muscle memory.  All that just to
> provide some kind of "consistency"?  I'm not sure it's a good enough
> reason for changing such a veteran behavior.

This seems to be common behaviour across other applications (e.g.,
Firefox), so it could help with the muscle memory of newer users.
Perhaps we could enable it in cua-mode?

Moving mouse-appearance-menu to super doesn't work since we can't rely
on super being generally usable. Perhaps C-S- instead?

reply via email to

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