From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20629: 25.0.50; Regression: TAGS broken, can't find anything in C++ files. Date: Sat, 30 May 2015 09:52:53 +0300 Message-ID: <831thywo8q.fsf@gnu.org> References: <555EC552.5010600@swipnet.se> <55606A8F.1020109@swipnet.se> <55606CC7.3010401@yandex.ru> <55606F70.10605@swipnet.se> <83twv31jzg.fsf@gnu.org> <83pp5r1hdx.fsf@gnu.org> <83mw0v1e5n.fsf@gnu.org> <83lhgczo16.fsf@gnu.org> <55639175.9090005@yandex.ru> <83fv6kysjf.fsf@gnu.org> <556447EF.3050103@yandex.ru> <83bnh7z8c5.fsf@gnu.org> <5564C2C7.5050909@yandex.ru> <837frvywfn.fsf@gnu.org> <55650812.60909@yandex.ru> <831ti2yu1a.fsf@gnu.org> <5565E28A.5040507@yandex.ru> <83wpzuxbtd.fsf@gnu.org> <5565E8AB.5020107@yandex.ru> <83r3q2xa3q.fsf@gnu.org> <5566583F.7020503@yandex.ru> <83h9qxxvo4.fsf@gnu.org> <5566EC49.8010907@yandex.ru> <837frsycly.fsf@gnu.org> <5567351E.7020006@yandex.ru> <83zj4owthp.fsf@gnu.org> <5567AE52.1000600@yandex.ru> <83fv6fx0nk.fsf@gnu.org> <55687241.5030200@yandex.ru> <83617bw84o.fsf@gnu.org> <5568C589.5000405@yandex.ru> <834mmvw28j.fsf@gnu.org> <5568EA08.9070401@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432968871 22000 80.91.229.3 (30 May 2015 06:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2015 06:54:31 +0000 (UTC) Cc: 20629@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 30 08:54:12 2015 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 1Yyaep-0003v6-Qd for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2015 08:54:11 +0200 Original-Received: from localhost ([::1]:38530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yyaep-00019L-4I for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 May 2015 02:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yyael-00019C-DR for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 02:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yyaeh-0004IG-QK for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 02:54:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yyaeh-0004I7-N9 for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 02:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yyaeh-00017r-Al for bug-gnu-emacs@gnu.org; Sat, 30 May 2015 02:54:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 May 2015 06:54:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20629-submit@debbugs.gnu.org id=B20629.14329687864253 (code B ref 20629); Sat, 30 May 2015 06:54:03 +0000 Original-Received: (at 20629) by debbugs.gnu.org; 30 May 2015 06:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:32822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yyadl-00016X-UA for submit@debbugs.gnu.org; Sat, 30 May 2015 02:53:06 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:41528) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yyadi-000160-SE for 20629@debbugs.gnu.org; Sat, 30 May 2015 02:53:04 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NP500N00HEZIK00@mtaout29.012.net.il> for 20629@debbugs.gnu.org; Sat, 30 May 2015 09:52:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NP500HSWHR1VT50@mtaout29.012.net.il>; Sat, 30 May 2015 09:52:13 +0300 (IDT) In-reply-to: <5568EA08.9070401@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:103340 Archived-At: > Cc: 20629@debbugs.gnu.org > From: Dmitry Gutov > Date: Sat, 30 May 2015 01:36:56 +0300 > > On 05/29/2015 11:35 PM, Eli Zaretskii wrote: > > > xref expects more accurate results, because it shows them all at once, > > instead of one by one, in some order that assures the users will only > > ever see the few first ones. So yes, I'd say the switch to xref puts > > a different kind of pressure on what etags/ctags does. > > It does exert some pressure, but mostly to ensure that when a user > searches for a "symbol" that they see in a buffer, it should have an > explicit or an implicit tag match. The crucial difference is that the number of matches must now be small, something that required us to remove the method which could cope with qualified tags when the symbol at point was unqualified. > Whether qualified tag names are included in the completion, and whether > one can search for a qualified tag name reliably, that hasn't changed > between find-tag and xref-find-definitions. True. But the original arrangement worked well with both with find-tag and with completions; now that we removed tag-symbol-match-p and qualified names, completion is less user-friendly. So I think we should default to having 2 entries for each such tag.