[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 128ed5c9f17: Add one more mouse-set-point call to functions x
From: |
Po Lu |
Subject: |
Re: master 128ed5c9f17: Add one more mouse-set-point call to functions xref-find-*-at-mouse |
Date: |
Thu, 31 Aug 2023 10:51:52 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Dmitry Gutov <dmitry@gutov.dev> writes:
> Sorry, I'm still not seeing your point. Especially the last paragraph
> in my last email seems to remain unaddressed.
>
> And both commands take EVENT as an argument already.
>
> The problem is not where is searched for an identifier, but *from
> where* it searched for the identifier's locations. And that position
> is important only for particular Xref backends (both LSP-based ones,
> I'm assuming).
My point is this: xref-find-definitions itself, not its callers, should
take EVENT, then call (goto-char (posn-point (event-start event)))
within.