[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keybinding for finding definition by mouse
From: |
Yuri Khan |
Subject: |
Re: Keybinding for finding definition by mouse |
Date: |
Tue, 10 Jul 2018 01:42:07 +0700 |
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.