* bug#53956: 27.1; Make xref--current-item public
@ 2022-02-12 12:45 Felician Nemeth
2022-02-21 1:00 ` Dmitry Gutov
0 siblings, 1 reply; 2+ messages in thread
From: Felician Nemeth @ 2022-02-12 12:45 UTC (permalink / raw)
To: 53956; +Cc: Dmitry Gutov
Severity: wishlist
thanks
Dmitry answered (to my question) in
https://github.com/joaotavora/eglot/pull/832#issuecomment-1031019256 :
> > An xref-after-jump-hook processes the last selected item
> > (xref--current-item) and gives an option to the user to execute the
> > selected command. However, xref--current-item is private. @dgutov,
> > is there another way (an api call) to get the selected xref-item?
>
> Nope, never considered that the value would be interesting for
> extensions. You can refer to this name, but it's probably a good idea
> to rename it (with a compatibility alias, I guess). We can move this
> to the bug tracker.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#53956: 27.1; Make xref--current-item public
2022-02-12 12:45 bug#53956: 27.1; Make xref--current-item public Felician Nemeth
@ 2022-02-21 1:00 ` Dmitry Gutov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Gutov @ 2022-02-21 1:00 UTC (permalink / raw)
To: Felician Nemeth, 53956
On 12.02.2022 14:45, Felician Nemeth wrote:
> Severity: wishlist
> thanks
>
> Dmitry answered (to my question) in
> https://github.com/joaotavora/eglot/pull/832#issuecomment-1031019256 :
>
>>> An xref-after-jump-hook processes the last selected item
>>> (xref--current-item) and gives an option to the user to execute the
>>> selected command. However, xref--current-item is private. @dgutov,
>>> is there another way (an api call) to get the selected xref-item?
>>
>> Nope, never considered that the value would be interesting for
>> extensions. You can refer to this name, but it's probably a good idea
>> to rename it (with a compatibility alias, I guess). We can move this
>> to the bug tracker.
Thanks for the report, now done on master (3d2c213ce9).
Should be in the next update, 1.4.0.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-21 1:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-12 12:45 bug#53956: 27.1; Make xref--current-item public Felician Nemeth
2022-02-21 1:00 ` Dmitry Gutov
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.