From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 71435@debbugs.gnu.org, adonovan@google.com
Subject: bug#71435: interactive xref-find-definitions-at-mouse
Date: Sun, 09 Jun 2024 21:58:21 +0300 [thread overview]
Message-ID: <86ed969c4y.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=Yx7pSM4xUgxRiDAh98p8UV=K+9bDvvDZa81aiURdjYA@mail.gmail.com> (message from Stefan Kangas on Sun, 9 Jun 2024 14:29:59 -0400)
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sun, 9 Jun 2024 14:29:59 -0400
> Cc: 71435@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Date: Sat, 8 Jun 2024 11:28:34 -0400
> >> From: Alan Donovan via "Bug reports for GNU Emacs,
> >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> >>
> >> Many editors allow a mouse-click operation on an identifier, plus a suitable modifier key, to jump to the
> >> declaration of the symbol. Emacs provides xref-find-definitions-at-mouse, but I couldn't find a way to make it
> >> work in response to a click.
> >
> > ??? This works for me:
> >
> > (global-set-key [C-down-mouse-1] 'xref-find-definitions-at-mouse)
>
> Should we consider adding such a key binding by default?
Not by default, IMO. Mouse-click potential for bindings is at premium
(in particular, C-down-mouse-1 is already taken), so I think we should
leave it up to the user to bind it (and most probably give up some
existing binding).
next prev parent reply other threads:[~2024-06-09 18:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-08 15:28 bug#71435: interactive xref-find-definitions-at-mouse Alan Donovan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-08 16:31 ` Eli Zaretskii
2024-06-09 18:29 ` Stefan Kangas
2024-06-09 18:58 ` Eli Zaretskii [this message]
2024-06-10 6:11 ` Philip Kaludercic
2024-06-10 6:32 ` Juri Linkov
2024-06-10 7:07 ` Philip Kaludercic
2024-06-10 14:39 ` Alan Donovan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-10 14:44 ` Stefan Kangas
2024-06-10 15:23 ` Eli Zaretskii
2024-06-10 17:26 ` Alan Donovan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-10 17:43 ` Philip Kaludercic
2024-06-10 18:47 ` Alan Donovan via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-10 18:59 ` Stefan Kangas
2024-06-10 17:55 ` Eli Zaretskii
2024-06-09 16:46 ` Juri Linkov
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=86ed969c4y.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=71435@debbugs.gnu.org \
--cc=adonovan@google.com \
--cc=stefankangas@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.