From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#22692: 25.0.91; xref-find-definitions fails to prompt Date: Tue, 16 Feb 2016 17:55:28 -0800 Message-ID: <23698.1455674128@allegro.localdomain> References: <20283.1455584523@allegro.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455674183 7879 80.91.229.3 (17 Feb 2016 01:56:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 01:56:23 +0000 (UTC) Cc: 22692@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 17 02:56:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVrLe-0005Od-Hv for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Feb 2016 02:56:10 +0100 Original-Received: from localhost ([::1]:52656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVrLd-0004Oi-Kd for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 20:56:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVrLZ-0004OX-V6 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:56:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVrLW-0002OQ-P8 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:56:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVrLW-0002OM-LX for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aVrLW-0000Ab-8w for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Feb 2016 01:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22692 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22692-submit@debbugs.gnu.org id=B22692.1455674135621 (code B ref 22692); Wed, 17 Feb 2016 01:56:02 +0000 Original-Received: (at 22692) by debbugs.gnu.org; 17 Feb 2016 01:55:35 +0000 Original-Received: from localhost ([127.0.0.1]:38683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVrL4-00009x-VV for submit@debbugs.gnu.org; Tue, 16 Feb 2016 20:55:35 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:42839 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aVrL3-00009o-7r for 22692@debbugs.gnu.org; Tue, 16 Feb 2016 20:55:33 -0500 Original-Received: from allegro.localdomain (m208-249.dsl.rawbw.com [198.144.208.249]) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id u1H1tUZ8026308; Tue, 16 Feb 2016 17:55:30 -0800 (PST) (envelope-from m.kupfer@acm.org) X-Authentication-Warning: shell1.rawbw.com: Host m208-249.dsl.rawbw.com [198.144.208.249] claimed to be allegro.localdomain In-Reply-To: Your message of "Tue\, 16 Feb 2016 12\:12\:55 +0200." <56C2F627.6070308@yandex.ru> X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 25.0.91 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113163 Archived-At: Dmitry Gutov wrote: > On 02/16/2016 03:02 AM, Mike Kupfer wrote: > > If point is on a token that isn't defined in the current tags file, > > M-. gives me an error (look for "Cygwin" further down in this bug > > report). I expect to get a prompt. >=20 > That doesn't sound right to me: "XXX is not found" is a valid piece of > information. Simply showing a prompt would obscure it. The Help string for xref-find-definitions says > With prefix argument or when there=E2=80=99s no identifier at point, > prompt for it. I guess you could argue that if point is on a token that's not in the tags table, it's still on an "identifier". But "#" is hardly an identifier. And the Info page "Xref Commands" says > With a prefix argument, or if there=E2=80=99s no valid > identifier at point, it prompts for the identifier. Does "valid identifier" mean syntatically correct, or does it mean that the identifier is in the tags table. Please clarify the documentation. > If we accept that the command searches for the thing at point by > default, the current behavior seems appropriate. And whether or not it > prompts, is customizable. Yes, I have already have (setq xref-prompt-for-identifier t) in my .emacs. mike