emacs-devel
[Top][All Lists]
Advanced

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

Re: Keybinding for finding definition by mouse


From: Tobias Gerdin
Subject: Re: Keybinding for finding definition by mouse
Date: Mon, 9 Jul 2018 21:58:28 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.0

Den 2018-07-09 kl. 20:42, skrev Yuri Khan:

On Tue, Jul 10, 2018 at 12:50 AM Marcin Borkowski <address@hidden> wrote:

Wishful thinking would be to also have 'xref-pop-marker-stack' bound to
some mouse event
That looks good on <mouse-8>, also known as history back. Possibly
also <M-mouse-5> aka Alt+scroll down, for those people who for some
reason don’t have back/forward buttons.
Interesting choice.  Is that "history back" or "mouse-8" really a mouse
button?
Yes. A common mouse design has a left and right button (1 and 3
respectively; can be reversed for left-handed users), a scroll wheel
(button 2 when clicked; 4 and 5 when turned up and down; on some
models, it can also be tilted left and right for horizontal scrolling,
X11 calls this buttons 6 and 7), and one or two thumb buttons (one for
going back in browser history, another forward; these are numbered 8
and 9).

Popping mark in general, and going back from a “find definition”, are
sufficiently semantically close to a “browser back” to be bound to the
same button.
I like this choice. But on macOS my 5-button mouse (no tilt) the buttons on the left and right of the mouse are reported as mouse-4 and mouse-5, so perhaps this differs between X11 and macOS? (which could be accounted for of course)

-Tobias



reply via email to

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