all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier`
@ 2017-12-08 21:13 Ray
  2017-12-08 21:27 ` bug#29619: Fwd: " Ray
  2017-12-09  8:29 ` Eli Zaretskii
  0 siblings, 2 replies; 10+ messages in thread
From: Ray @ 2017-12-08 21:13 UTC (permalink / raw)
  To: help-gnu-emacs

Currently, xref-find-references prompts for the identifier to look up,
because it is not listed in xref-prompt-for-identifier:

(defcustom xref-prompt-for-identifier '(not xref-find-definitions
                                            xref-find-definitions-other-window
                                            xref-find-definitions-other-frame)

It will be much core convenient to add xref-find-references in the list.

Many language servers now support finding references. The typical
usage of lsp-mode is to put point at some identifier and hit a
shortcut (by default M-?) to trigger xref-find-references. The prompt
is in many cases undesired.



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-01-21 22:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-08 21:13 [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` Ray
2017-12-08 21:27 ` bug#29619: Fwd: " Ray
2017-12-09 15:25   ` Dmitry Gutov
2017-12-09 17:52     ` Ray
2017-12-10 16:57       ` Dmitry Gutov
2017-12-11  7:18         ` Fangrui Song
2017-12-11 10:38           ` Dmitry Gutov
2018-01-21 22:20   ` guillaume papin
2017-12-09  8:29 ` Eli Zaretskii
2017-12-09  8:59   ` Eli Zaretskii

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.