all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tobias Gerdin <tgerdin@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Keybinding for finding definition by mouse
Date: Mon, 09 Jul 2018 20:09:49 +0300	[thread overview]
Message-ID: <83h8l8gwte.fsf@gnu.org> (raw)
In-Reply-To: <76face16-e29e-e945-674f-79b8a2f2e498@gmail.com> (message from Tobias Gerdin on Sun, 8 Jul 2018 22:06:18 +0200)

> From: Tobias Gerdin <tgerdin@gmail.com>
> Date: Sun, 8 Jul 2018 22:06:18 +0200
> 
> A function for jumping to a definition by clicking on an identifier was 
> recently added to master.[1]
> 
> For mouse users like myself this invoking this is probably the second 
> mouse common use of the mouse (after text selection) so I propose we add 
> a default binding for it in the global map. So which one?

I wonder whether we should.  I think people who like to use the mouse
for xref-find-definitions will bind the command to something handy,
like C-mouse-1 (and give up on, or rebind, mouse-buffer-menu).  We
cannot do that by default, and OTOH binding it to something like
C-M-mouse-1 sounds too difficult to use (and then there's the problem
of binding xref-pop-marker-stack).

I'm also not convinced many people will want such a binding, as most
of us use the keyboard for these commands.

So I think we should leave this unbound by default, at least for now,
and rely on people who want this on a mouse click to make their local
changes.



  reply	other threads:[~2018-07-09 17:09 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 [this message]
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

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=83h8l8gwte.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --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.