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: Alan Donovan <adonovan <at> google.com>
Cc: philipk <at> posteo.net, 71435 <at> debbugs.gnu.org, stefankangas <at> gmail.com, juri <at> linkov.net
Subject: bug#71435: interactive xref-find-definitions-at-mouse
Date: Mon, 10 Jun 2024 18:23:27 +0300
> From: Alan Donovan <adonovan <at> google.com>
> Date: Mon, 10 Jun 2024 10:39:04 -0400
> Cc: Juri Linkov <juri <at> linkov.net>, Stefan Kangas <stefankangas <at> gmail.com>, 
> 	Eli Zaretskii <eliz <at> gnu.org>, 71435 <at> debbugs.gnu.org
> 
> > ?? 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

I cannot reproduce thus.  I just tried, and the mouse click shows the
definition of identifier at mouse click, not at point.

> 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.

Please show a recipe for reproducing this, and please also tell what
version of Emacs are you using and on which platform.

Thanks.




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.