all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Gerdin <tgerdin@gmail.com>
To: Yuri Khan <yurivkhan@gmail.com>, Marcin Borkowski <mbork@mbork.pl>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Keybinding for finding definition by mouse
Date: Mon, 9 Jul 2018 21:58:28 +0200	[thread overview]
Message-ID: <01f7d0e9-12d0-d2d6-bf86-735a16f32a2c@gmail.com> (raw)
In-Reply-To: <CAP_d_8XZ0Js4YJUqXEy6=XhVce1GSftRu-tpE9Ux-o9C32iFsw@mail.gmail.com>

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

> 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.
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



      parent reply	other threads:[~2018-07-09 19:58 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
2018-07-09 19:16       ` Helmut Eller
2018-07-09 19:58       ` Tobias Gerdin [this message]

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=01f7d0e9-12d0-d2d6-bf86-735a16f32a2c@gmail.com \
    --to=tgerdin@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mbork@mbork.pl \
    --cc=yurivkhan@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.