From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: [xref.el] Add `xref-find-references` to `xref-prompt-for-identifier` Date: Sat, 09 Dec 2017 10:29:48 +0200 Message-ID: <83lgicuww3.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512808240 5803 195.159.176.226 (9 Dec 2017 08:30:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2017 08:30:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 09 09:30:36 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNaWq-0001De-FT for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2017 09:30:36 +0100 Original-Received: from localhost ([::1]:40378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNaWt-00033r-1s for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Dec 2017 03:30:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNaWR-00031r-MS for help-gnu-emacs@gnu.org; Sat, 09 Dec 2017 03:30:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNaWM-0004An-RP for help-gnu-emacs@gnu.org; Sat, 09 Dec 2017 03:30:11 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNaWM-0004Aa-NI for help-gnu-emacs@gnu.org; Sat, 09 Dec 2017 03:30:06 -0500 Original-Received: from [176.228.60.248] (port=4217 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eNaWL-0006DM-W2 for help-gnu-emacs@gnu.org; Sat, 09 Dec 2017 03:30:06 -0500 In-reply-to: (message from Ray on Fri, 8 Dec 2017 13:13:49 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115313 Archived-At: > From: Ray > Date: Fri, 8 Dec 2017 13:13:49 -0800 > > 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. Please either post this to emacs-devel@gnu.org, or (better) use report-emacs-bug to request this addition. The latter causes your request to be recorded by the Emacs issue tracker; both methods will have the request sent to people who are actually developing xref.el. Thanks.