[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71435: interactive xref-find-definitions-at-mouse
From: |
Stefan Kangas |
Subject: |
bug#71435: interactive xref-find-definitions-at-mouse |
Date: |
Mon, 10 Jun 2024 07:44:57 -0700 |
Alan Donovan <adonovan@google.com> writes:
>> ?? This works for me:
>> (global-set-key [C-down-mouse-1] 'xref-find-definitions-at-mouse)
>
> Ah, I remember the problem now: if the point is at position A and the mouse
> click occurs at some unrelated position B, plain old
> xref-find-definitions-at-mouse will use position A as the basis of the
> query, which is most surprising: it might be a non-identifier, in
> which case you get an error, or it might be an unrelated identifier, in
> which case you navigate to the wrong place.
>
> So perhaps my request should instead have been expressed as a bug report:
> xref-find-definitions-at-mouse uses the point instead of the mouse event
> position.
I can't reproduce that in emacs -Q.
- bug#71435: interactive xref-find-definitions-at-mouse, (continued)
- bug#71435: interactive xref-find-definitions-at-mouse, Philip Kaludercic, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Juri Linkov, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Philip Kaludercic, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Alan Donovan, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Eli Zaretskii, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Alan Donovan, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Philip Kaludercic, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Alan Donovan, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Stefan Kangas, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse, Eli Zaretskii, 2024/06/10
- bug#71435: interactive xref-find-definitions-at-mouse,
Stefan Kangas <=
bug#71435: interactive xref-find-definitions-at-mouse, Juri Linkov, 2024/06/09