From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20629: 25.0.50; Regression: TAGS broken, can't find anything in C++ files. Date: Thu, 28 May 2015 02:50:23 +0300 Message-ID: <5566583F.7020503@yandex.ru> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1432770682 9898 80.91.229.3 (27 May 2015 23:51:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 23:51:22 +0000 (UTC) Cc: 20629@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 28 01:51:11 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 1Yxl6M-0003Nk-Gz for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 May 2015 01:51:10 +0200 Original-Received: from localhost ([::1]:55798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxl6L-0007jt-Qp for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 19:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxl6J-0007jo-7R for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 19:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxl6G-0000rN-0z for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 19:51:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxl6F-0000rI-UD for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 19:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yxl6E-0007hE-Vz for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 19:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 May 2015 23:51:02 +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.143277063429547 (code B ref 20629); Wed, 27 May 2015 23:51:02 +0000 Original-Received: (at 20629) by debbugs.gnu.org; 27 May 2015 23:50:34 +0000 Original-Received: from localhost ([127.0.0.1]:58739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxl5l-0007gT-Sw for submit@debbugs.gnu.org; Wed, 27 May 2015 19:50:34 -0400 Original-Received: from mail-wg0-f43.google.com ([74.125.82.43]:36023) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxl5j-0007gC-7Z for 20629@debbugs.gnu.org; Wed, 27 May 2015 19:50:32 -0400 Original-Received: by wgbgq6 with SMTP id gq6so22510532wgb.3 for <20629@debbugs.gnu.org>; Wed, 27 May 2015 16:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=uX7GKu06asZZn8TgVg/ezRVcWJadFc39X3bZY8+2jIE=; b=y0Es8b2RGNZetZAISuTn7yXew0x6LrtXnnnxTkt7YcTUvrtQmeJYZc1XVO7FO57xSX M31HPnw/dOTyHvm4kwRBGVqFwwJ8ry+X/9P1d6AyGFtWmIotxRIx+wScq1v55squO+65 gh192jPMUGIsfrmBqDtQMJqFHR4ZnkNetbMNalmVHh8zTxtMtiMZFnGHuteji6vhiLij KlBUrBw+vw27252SeOm2/oYhesHiKJCBz/CHjWddaRDvukSTEy7nUOpTIY6c+T72OJ9f ClRD8m8NNS3wFZXYcksgPEh4rqeo6WnsJ3AXJIJ7wyg91ceKirKc9iQ1WZSzhU9RiD4Q 1Tjw== X-Received: by 10.194.249.196 with SMTP id yw4mr16386638wjc.144.1432770625536; Wed, 27 May 2015 16:50:25 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id i6sm670796wjf.29.2015.05.27.16.50.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 May 2015 16:50:25 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <83r3q2xa3q.fsf@gnu.org> 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:103243 Archived-At: On 05/27/2015 07:23 PM, Eli Zaretskii wrote: > Yes, but they look at different parts of the tag's record. We check every tag against both functions, that's the point. tag-implicit-name-match-p is more flexible, > No, we match them with tag-exact-match-p, AFAICS. No. Unless there's an explicit tag name, this function will return nil. Check out the first comment in its implementation. >> The result would be that the completion table only returns qualified >> method names, but xref-find-definitions (or find-tag) also shows matches >> for unqualified method names. > > That'd be great. We'd get it at the cost of precision, though. In this case, foo:bar (a valid Elisp name) would become an implicit match for "bar". Anyway, this thread of thought is probably not worth pursuing: we'd want to be compatible with 'ctags -e' (not least because it supports more languages), and there's no option to generate qualified C++ method names there.