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: Sun, 22 Nov 2015 19:27:35 +0100 Message-ID: <8737vxsxd4.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> <83d1v13nyl.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448216902 5082 80.91.229.3 (22 Nov 2015 18:28:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 18:28:22 +0000 (UTC) Cc: 21934@debbugs.gnu.org, Dmitry Gutov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 19:28: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 1a0ZMw-0005wu-3Y for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 19:28:10 +0100 Original-Received: from localhost ([::1]:57028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ZMv-00030a-Nu for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 13:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ZMr-0002z8-P7 for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:28:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0ZMo-0002Rp-IR for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:28:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ZMo-0002Rl-Es for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0ZMo-0007Mz-5v for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 13:28: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: Sun, 22 Nov 2015 18:28: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.144821687328314 (code B ref 21934); Sun, 22 Nov 2015 18:28:02 +0000 Original-Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 18:27:53 +0000 Original-Received: from localhost ([127.0.0.1]:48494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ZMf-0007Mc-Ba for submit@debbugs.gnu.org; Sun, 22 Nov 2015 13:27:53 -0500 Original-Received: from mail-wm0-f48.google.com ([74.125.82.48]:33461) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ZML-0007M0-DO for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 13:27:52 -0500 Original-Received: by wmec201 with SMTP id c201so133117318wme.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 10:27:32 -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=ddszbY8OU0Ws1Be5VIKYYKbr3dd/GZ+aBF17vTP+VJ4=; b=WFOEK18ZvjN8bkPJcOxg3wWRwO/BYyLObMYtgGpeeSryY5h0fWBFkgmtxewRbQq71S Yz8d51I952kKBk+wsZQFd9D8WzstB+Ktu+CxT1j2dPwf4SpuQNfM+k1OapRS19Kp0sZB KUHTyqNSWRkKQgGhfWVgZ3Y9SPGOnh5Daw4DLupD9bpFxTNo+JgOAaoxQbA3pf0PM9n6 9L6QncTeFsJqMKg/3hMBJurW2fB4eI0hCy3LZ6ps0AJovWfUlbIR69JG48RDikDCFrLf oaOmG9s8evKyPU7IC3wPDTm5r9yig6SvQyHvDxaRsYl0T6BKJm32JgZVo3JOaVISQUb4 6t9g== X-Received: by 10.194.175.230 with SMTP id cd6mr22017182wjc.100.1448216852804; Sun, 22 Nov 2015 10:27:32 -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 q6sm9634912wjx.28.2015.11.22.10.27.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Nov 2015 10:27:32 -0800 (PST) Original-Received: by winky.hogwarts (Postfix, from userid 1000) id 3AAAD16E061E; Sun, 22 Nov 2015 19:27:35 +0100 (CET) In-Reply-To: <83d1v13nyl.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Nov 2015 20:09:54 +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:109094 Archived-At: Eli Zaretskii wrote: >> Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org >> From: Dmitry Gutov >> Date: Sun, 22 Nov 2015 19:43:48 +0200 >> >> On 11/22/2015 07:38 PM, Eli Zaretskii wrote: >> >> > If that's the conclusion, I think I can make etags do that for Lua. >> > >> > Should that be done for tokens that include '.' and ':'? >> >> I think so. >> >> > 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". > > Sorry, I'm not sure I understand: does Lua allow syntax such as above, > or doesn't it? If it allows that, then what is the meaning of those? > Can a table has a function that is also a table? (Apologies if I'm > talking nonsense.) Yes, it's valid Lua. You can stick one table into an element of another table. E.g.: foo.bar.baz This is table `foo' which has got an element called `bar'; and `bar' happens to be a table, which has got an element `baz'. E.g.: foo:bar.baz A class `foo' with a table `bar' containing an element called `baz'