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#21934: 24.5; find-tag: reading TAGS file incorrectly Date: Mon, 23 Nov 2015 19:16:41 +0200 Message-ID: <8337vw1vra.fsf@gnu.org> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448299042 28244 80.91.229.3 (23 Nov 2015 17:17:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2015 17:17:22 +0000 (UTC) Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru To: Andreas Matthias Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 23 18:17:09 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 1a0ujj-0006aB-Ny for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2015 18:17:07 +0100 Original-Received: from localhost ([::1]:33670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ujk-0001QB-BS for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2015 12:17:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ujh-0001Q2-56 for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:17:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0uje-0001W0-D0 for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:17:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0uje-0001Vv-99 for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0ujd-0005vc-K5 for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2015 17:17:01 +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.144829901022764 (code B ref 21934); Mon, 23 Nov 2015 17:17:01 +0000 Original-Received: (at 21934) by debbugs.gnu.org; 23 Nov 2015 17:16:50 +0000 Original-Received: from localhost ([127.0.0.1]:49769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ujR-0005v3-Ut for submit@debbugs.gnu.org; Mon, 23 Nov 2015 12:16:50 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:37575) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ujO-0005uk-Sy for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 12:16:47 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NYA002002HTSM00@mtaout26.012.net.il> for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 19:19:41 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYA001L22STEW20@mtaout26.012.net.il>; Mon, 23 Nov 2015 19:19:41 +0200 (IST) In-reply-to: <87bnakr76n.fsf@winky.hogwarts> 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: 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:109130 Archived-At: > 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?