From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Matthias Newsgroups: gmane.emacs.bugs Subject: bug#21934: 24.5; find-tag: reading TAGS file incorrectly Date: Mon, 23 Nov 2015 18:28:14 +0100 Message-ID: <877fl8r5g1.fsf@winky.hogwarts> References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> <83si3y2et4.fsf@gnu.org> <5651F350.6080203@yandex.ru> <83h9ke2av1.fsf@gnu.org> <5651FED4.8080508@yandex.ru> <877fl9sz4j.fsf@winky.hogwarts> <83bnal3nsq.fsf@gnu.org> <87bnakr76n.fsf@winky.hogwarts> <8337vw1vra.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448299767 8875 80.91.229.3 (23 Nov 2015 17:29:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2015 17:29:27 +0000 (UTC) Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 23 18:29: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 1a0uvN-0001a2-Jl for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2015 18:29:09 +0100 Original-Received: from localhost ([::1]:33716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0uvO-0007Ip-BV for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2015 12:29:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0uvK-0007Ha-QE for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:29:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0uvG-0005CR-J3 for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:29:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0uvG-0005CI-FE for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0uvG-0006Hr-BT for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Matthias Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2015 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21934 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21934-submit@debbugs.gnu.org id=B21934.144829969424099 (code B ref 21934); Mon, 23 Nov 2015 17:29:02 +0000 Original-Received: (at 21934) by debbugs.gnu.org; 23 Nov 2015 17:28:14 +0000 Original-Received: from localhost ([127.0.0.1]:49781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uuT-0006Gc-Tr for submit@debbugs.gnu.org; Mon, 23 Nov 2015 12:28:14 -0500 Original-Received: from mail-wm0-f50.google.com ([74.125.82.50]:35862) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uuR-0006GT-Qu for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 12:28:12 -0500 Original-Received: by wmww144 with SMTP id w144so106154106wmw.1 for <21934@debbugs.gnu.org>; Mon, 23 Nov 2015 09:28:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=oL9AyaQj+F54btAab1PzaSLc8AwwG51usOVd+aEelAM=; b=EiRaoOXOSbKiUkcYorj3G8vUJG6x41LdjKhHYQbYMCjuG1ue87MOBAuNN4tHM+M34V +jJK9xhwRHQ4Sk/q90gVJd8VZYtZSEN4Du1cF7GOwi5lPRv5Y4JD7fTxoeHU4S6KEQxY l/BRCpnAZd+Rfn5XxkEL8Lni/eh2LD1UiRG4b2c8riNN3ocrpapmKoMvy113zDqzuytH H6QCniyWUf9A06IDbLI+9QFpFP5lowc6H1gEv58Dn0El1Hgu2aChOlJFVlC2cg4gjdvs 12cX5I7uh9/pRwFcJUt/erdQYdhwBmMvJs3ycyLK/AE8z491tGgkXtU4wrUrZHk3xuFY cayA== X-Received: by 10.28.64.11 with SMTP id n11mr16896907wma.37.1448299690889; Mon, 23 Nov 2015 09:28:10 -0800 (PST) Original-Received: from winky.hogwarts (HSI-KBW-109-193-111-125.hsi7.kabel-badenwuerttemberg.de. [109.193.111.125]) by smtp.gmail.com with ESMTPSA id 143sm14321090wmv.18.2015.11.23.09.28.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 09:28:10 -0800 (PST) Original-Received: by winky.hogwarts (Postfix, from userid 1000) id 07CCC16E061E; Mon, 23 Nov 2015 18:28:14 +0100 (CET) In-Reply-To: <8337vw1vra.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 23 Nov 2015 19:16:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) 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: 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:109132 Archived-At: Eli Zaretskii wrote: >> From: Andreas Matthias >> Cc: dgutov@yandex.ru, 21934@debbugs.gnu.org >> Date: Mon, 23 Nov 2015 17:50:40 +0100 >> >> Eli Zaretskii wrote: >> >> >> From: Andreas Matthias >> >> Cc: Eli Zaretskii , 21934@debbugs.gnu.org >> >> Date: Sun, 22 Nov 2015 18:49:32 +0100 >> >> >> >> >> Can there be >> >> >> more than one of these in a token, and if so, what should etags do? >> >> >> IOW, if we have foo.bar.baz or foo:bar.baz etc., what should be the >> >> >> result? >> >> > >> >> > Just two, I think. foo.bar is not a function, and bar.baz probably won't be a >> >> > "symbol at point". >> >> > >> >> > So just the fully qualified tag name, and the local tag name ("baz"). >> >> >> >> Yes, that's reasonable. >> > >> > I'm sorry: can I have a complete specification, please? Given a >> > token that includes one or more of '.' and ':', how to determine the 2 >> > tags that etags should produce? >> >> See `funcname' in: >> >> http://www.lua.org/manual/5.3/manual.html#9 > > Thanks, but that's not all the information I need. What's missing is > which part(s) of a funcname would you like etags to record. Do you > want each "Name" component to be recorded, or just some of them? > > IOW, if we have foo.bar.baz.more, what should be recorded in addition > to the whole foo.bar.baz.more token? Just bar.baz.more, or something > else? What about foo.bar.baz:more? As Dmitry said. Both the fully qualified tag name and the local tag name. foo.bar.baz.more should be tagged as: foo.bar.baz.more more foo.bar.baz:more should be tagged as: foo.bar.baz:more more