From: Dmitry Gutov <dgutov@yandex.ru>
To: Felician Nemeth <felician.nemeth@gmail.com>, 53956@debbugs.gnu.org
Subject: bug#53956: 27.1; Make xref--current-item public
Date: Mon, 21 Feb 2022 03:00:34 +0200 [thread overview]
Message-ID: <9bbefc1e-30c1-b9c6-4c1c-9bd5864bb2a9@yandex.ru> (raw)
In-Reply-To: <87ee489rtk.fsf@betli.tmit.bme.hu>
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.
prev parent reply other threads:[~2022-02-21 1:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-12 12:45 bug#53956: 27.1; Make xref--current-item public Felician Nemeth
2022-02-21 1:00 ` Dmitry Gutov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9bbefc1e-30c1-b9c6-4c1c-9bd5864bb2a9@yandex.ru \
--to=dgutov@yandex.ru \
--cc=53956@debbugs.gnu.org \
--cc=felician.nemeth@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.