From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32389: Default behaviour of xref-find-references is inconsistent with the documentation Date: Tue, 07 Aug 2018 21:26:40 +0300 Message-ID: <83mutyowwv.fsf@gnu.org> References: <83zhxyp2rc.fsf@gnu.org> <83va8mp0hv.fsf@gnu.org> <83pnyuozvf.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533666310 6128 195.159.176.226 (7 Aug 2018 18:25:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2018 18:25:10 +0000 (UTC) Cc: 32389@debbugs.gnu.org To: Shitikanth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 07 20:25:05 2018 Return-path: Envelope-to: geb-bug-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 1fn6fJ-0001TZ-3b for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2018 20:25:05 +0200 Original-Received: from localhost ([::1]:40370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fn6hP-0002Zz-FU for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2018 14:27:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fn6hI-0002ZX-S8 for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2018 14:27:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fn6hF-00036K-Dn for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2018 14:27:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fn6hE-00034N-UY for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2018 14:27:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fn6hC-00043F-Fq for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2018 14:27:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Aug 2018 18:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32389-submit@debbugs.gnu.org id=B32389.153366641315553 (code B ref 32389); Tue, 07 Aug 2018 18:27:02 +0000 Original-Received: (at 32389) by debbugs.gnu.org; 7 Aug 2018 18:26:53 +0000 Original-Received: from localhost ([127.0.0.1]:43915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fn6h2-00042m-NR for submit@debbugs.gnu.org; Tue, 07 Aug 2018 14:26:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fn6h0-00042V-Ut for 32389@debbugs.gnu.org; Tue, 07 Aug 2018 14:26:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fn6gs-0002Q3-Pf for 32389@debbugs.gnu.org; Tue, 07 Aug 2018 14:26:45 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fn6gs-0002Pp-MC; Tue, 07 Aug 2018 14:26:42 -0400 Original-Received: from [176.228.60.248] (port=2878 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fn6gs-0001HG-6K; Tue, 07 Aug 2018 14:26:42 -0400 In-reply-to: (message from Shitikanth on Tue, 7 Aug 2018 23:45:42 +0530) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149332 Archived-At: > From: Shitikanth > Date: Tue, 7 Aug 2018 23:45:42 +0530 > > I, for one, feel that this has become more complex than it needs to be. Since C-u M-? > gives the option to force a prompt anyway, the default behaviour should be for M-? > to not show a prompt unless needed (that is if the xref-backend is not able to find > an identifier at point). You are arguing for a change in the default behavior, something that we don't usually do based on a single opinion. You can always customize xref-prompt-for-identifier on your system to get this behavior for yourself; changing that for everyone requires some kind of user poll, at least.