Subject: bug#71435: interactive xref-find-definitions-at-mouse

From: Stefan Kangas <[email-masked]>
Date: Sun, 9 Jun 2024 14:29:59 -0400

Eli Zaretskii <[email-masked]> 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" <[email-masked]>
>>
>> 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?

Is that a feature that users want?