From: Leo Butler <leo.butler@umanitoba.ca>
To: Emacs <help-gnu-emacs@gnu.org>
Subject: xref-find-definitions
Date: Wed, 24 Feb 2021 12:30:06 -0600 [thread overview]
Message-ID: <86wnuxiaj5.fsf@x201.butler.org> (raw)
What is the name of the regexp used by xref-find-definitions to determine
the identifier? I have looked in xref.el, but I don't see any way to do
this.
Leo
PS:
M-. runs the command xref-find-definitions (found in global-map),
which is an autoloaded interactive compiled Lisp function in
‘xref.el’.
It is bound to M-., <menu-bar> <edit> <goto> <xref-find-def>.
(xref-find-definitions IDENTIFIER)
Probably introduced at or before Emacs version 25.1.
Find the definition of the identifier at point.
With prefix argument or when there’s no identifier at point,
prompt for it.
If sufficient information is available to determine a unique
definition for IDENTIFIER, display it in the selected window.
Otherwise, display the list of the possible definitions in a
buffer where the user can select from the list.
next reply other threads:[~2021-02-24 18:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-24 18:30 Leo Butler [this message]
2021-02-24 18:58 ` xref-find-definitions Dmitry Gutov
2021-02-24 19:38 ` xref-find-definitions Leo Butler
2021-02-24 21:48 ` xref-find-definitions Dmitry Gutov
2021-02-25 8:43 ` xref-find-definitions Philip Kaludercic
2021-02-25 12:38 ` xref-find-definitions Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86wnuxiaj5.fsf@x201.butler.org \
--to=leo.butler@umanitoba.ca \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).