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 05:34:54 +0300 Message-ID: <83lglmt12p.fsf@gnu.org> References: <201709102119.v8ALJipg019297@psr.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1505097316 24999 195.159.176.226 (11 Sep 2017 02:35:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2017 02:35:16 +0000 (UTC) Cc: 28403@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 04:35:10 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 1drEYw-0005oW-SL for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Sep 2017 04:35:02 +0200 Original-Received: from localhost ([::1]:55082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drEZ4-0004R8-1P for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Sep 2017 22:35:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drEYx-0004Qt-1r for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:35:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drEYw-0005Og-9X for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:35:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drEYw-0005OO-6I for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drEYv-0002VZ-VV for bug-gnu-emacs@gnu.org; Sun, 10 Sep 2017 22:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2017 02:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28403 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28403-submit@debbugs.gnu.org id=B28403.15050972939621 (code B ref 28403); Mon, 11 Sep 2017 02:35:01 +0000 Original-Received: (at 28403) by debbugs.gnu.org; 11 Sep 2017 02:34:53 +0000 Original-Received: from localhost ([127.0.0.1]:60122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drEYn-0002V7-2Y for submit@debbugs.gnu.org; Sun, 10 Sep 2017 22:34:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drEYl-0002Uw-Vw for 28403@debbugs.gnu.org; Sun, 10 Sep 2017 22:34:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drEYc-0005Gw-PV for 28403@debbugs.gnu.org; Sun, 10 Sep 2017 22:34:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drEYc-0005Gq-Ml; Sun, 10 Sep 2017 22:34:42 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3962 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1drEYc-0006IW-7U; Sun, 10 Sep 2017 22:34:42 -0400 In-reply-to: <201709102119.v8ALJipg019297@psr.com> (message from Winston on Sun, 10 Sep 2017 17:19 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:136759 Archived-At: > Date: Sun, 10 Sep 2017 17:19 EDT > From: Winston > Cc: dgutov@yandex.ru, 28403@debbugs.gnu.org > > * Find "foo1" or "foo2" (complete names) worked, both when typed in and > when extracting a name near (point). > > * Find "foo" (partial name) didn't: rather than creating a window with > the alternatives, it failed with "No definitions found for: foo". > find-tag given the same string "foo" went to the first one. As expected. You have bad habits from using find-tag. With xref, you need to do "M-. foo TAB". > P.S. Also, I'm finding it mildly annoying that xref-find-definitions, > when next to just about any word, including text in comments, tries > immediately to go to that word as a tag rather than prompting me > for a name with the word as the default, as find-tag did. That > means I'll have to remember to use my {arg} key fairly often to > tell it "don't do that, prompt me." Is there an "always prompt" > option, or do I need to write a trivial wrapper function? I got used to this very quickly, but if you don't want to try, write your wrapper.