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#28403: 25.2; find-tag works, but xref-find-definitions Date: Mon, 11 Sep 2017 19:51:59 +0300 Message-ID: <83k215rxe8.fsf@gnu.org> References: <201709110503.v8B531g1020853@psr.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505326755 16252 195.159.176.226 (13 Sep 2017 18:19:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2017 18:19:15 +0000 (UTC) Cc: 28403-done@debbugs.gnu.org, dgutov@yandex.ru To: Winston Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 11 18:53:19 2017 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 1drRxQ-0000an-Ez for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Sep 2017 18:53:12 +0200 Original-Received: from localhost ([::1]:59077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drRxX-0002a1-E5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Sep 2017 12:53:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drRxJ-0002Ts-6v for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2017 12:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drRxG-0003xE-4A for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2017 12:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drRxG-0003x3-12 for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2017 12:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drRxF-0008MU-Q9 for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2017 12:53:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2017 16:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 28403 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 28403@debbugs.gnu.org, eliz@gnu.org, wbe@psr.com Original-Received: via spool by 28403-done@debbugs.gnu.org id=D28403.150514874232094 (code D ref 28403); Mon, 11 Sep 2017 16:53:01 +0000 Original-Received: (at 28403-done) by debbugs.gnu.org; 11 Sep 2017 16:52:22 +0000 Original-Received: from localhost ([127.0.0.1]:33856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drRwc-0008La-4O for submit@debbugs.gnu.org; Mon, 11 Sep 2017 12:52:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drRwa-0008LM-9e for 28403-done@debbugs.gnu.org; Mon, 11 Sep 2017 12:52:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drRwS-0003cl-4j for 28403-done@debbugs.gnu.org; Mon, 11 Sep 2017 12:52:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drRwS-0003ch-0q; Mon, 11 Sep 2017 12:52:12 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4524 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1drRwP-0006P1-TS; Mon, 11 Sep 2017 12:52:11 -0400 In-reply-to: <201709110503.v8B531g1020853@psr.com> (message from Winston on Mon, 11 Sep 2017 01:02 EDT) 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:136914 > Date: Mon, 11 Sep 2017 01:02 EDT > From: Winston > Cc: dgutov@yandex.ru, 28403@debbugs.gnu.org > > Eli asked: > > I guess we can now close the bug report? > > From my standpoint, yes. Thanks, done. > xref-find-definitions differs from find-tag several ways: > * find-tag always prompted for a name, with the string at (point) as > the default name. With no argument, xref-find-definitions does not > prompt, and tries immediately to go to a tag with that default name. > Use (setq xref-prompt-for-identifier t) to force prompting. > * find-tag allowed partial names. xref-find-definitions does not. > Use TAB after a partial name in a prompt for completion(s). > * If find-tag finds your tags OK but xref-find-definitions does not, you > may need to use --regexp with etags to help it identify the tag name. > (See etags man page.) If even that doesn't help, try > {whatever Dmitry > and Eli decide is a good long-term easy way to add '(tag-symbol-match-p) > to etags-xref-find-definitions-tag-order}. Thanks. Some of this is already in the documentation, other parts will be if/when the code does what we are discussing now.