all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yurivkhan@gmail.com>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: tgerdin@gmail.com, Emacs developers <emacs-devel@gnu.org>
Subject: Re: Keybinding for finding definition by mouse
Date: Tue, 10 Jul 2018 01:42:07 +0700	[thread overview]
Message-ID: <CAP_d_8XZ0Js4YJUqXEy6=XhVce1GSftRu-tpE9Ux-o9C32iFsw@mail.gmail.com> (raw)
In-Reply-To: <874lh8l2nq.fsf@mbork.pl>

On Tue, Jul 10, 2018 at 12:50 AM Marcin Borkowski <mbork@mbork.pl> 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.



  reply	other threads:[~2018-07-09 18:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-08 20:06 Keybinding for finding definition by mouse Tobias Gerdin
2018-07-09 17:09 ` Eli Zaretskii
2018-07-09 20:40   ` Tobias Gerdin
2018-07-10 16:16     ` Eli Zaretskii
2018-07-09 21:17   ` Tobias Gerdin
2018-07-09 17:43 ` Yuri Khan
2018-07-09 17:50   ` Marcin Borkowski
2018-07-09 18:42     ` Yuri Khan [this message]
2018-07-09 19:16       ` Helmut Eller
2018-07-09 19:58       ` Tobias Gerdin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP_d_8XZ0Js4YJUqXEy6=XhVce1GSftRu-tpE9Ux-o9C32iFsw@mail.gmail.com' \
    --to=yurivkhan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mbork@mbork.pl \
    --cc=tgerdin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.