GNU bug report logs - #71435
interactive xref-find-definitions-at-mouse

Previous Next

Package: emacs;

Reported by: Alan Donovan <adonovan <at> google.com>

Date: Sat, 8 Jun 2024 15:32:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: 71435 <at> debbugs.gnu.org, adonovan <at> google.com
Subject: bug#71435: interactive xref-find-definitions-at-mouse
Date: Sun, 09 Jun 2024 21:58:21 +0300
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Sun, 9 Jun 2024 14:29:59 -0400
> Cc: 71435 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> 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 <at> 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).




This bug report was last modified 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.