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#21934: 24.5; find-tag: reading TAGS file incorrectly Date: Sun, 22 Nov 2015 16:33:09 +0200 Message-ID: <5651D225.10405@yandex.ru> References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> <87vb8urut4.fsf@winky.hogwarts> 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 1448202868 20876 80.91.229.3 (22 Nov 2015 14:34:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 14:34:28 +0000 (UTC) Cc: 21934@debbugs.gnu.org To: Andreas Matthias Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 15:34:15 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 1a0ViV-00059A-4d for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 15:34:11 +0100 Original-Received: from localhost ([::1]:56258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ViV-0003E3-0D for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 09:34:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ViQ-0003D1-TJ for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0ViN-0002eR-Js for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:34:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ViN-0002eM-GQ for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0ViM-0000c5-Qk for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:34:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Nov 2015 14:34: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.14482028192318 (code B ref 21934); Sun, 22 Nov 2015 14:34:02 +0000 Original-Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 14:33:39 +0000 Original-Received: from localhost ([127.0.0.1]:47717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Vhx-0000bJ-VL for submit@debbugs.gnu.org; Sun, 22 Nov 2015 09:33:38 -0500 Original-Received: from mail-wm0-f49.google.com ([74.125.82.49]:34525) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0VhZ-0000al-7W for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 09:33:32 -0500 Original-Received: by wmvv187 with SMTP id v187so128919494wmv.1 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 06:33:12 -0800 (PST) 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=Fgk54srfGCrSxUdpUzx1juEXQ+nYfaBsjEqpb5Hx3ww=; b=U7xuzsQWVA6U0e6NrfYoUEAhHVqTgJSmkiOm+/9RwAyj4Hs7iQUoxxODy9OA3g+JJb M2gjLjcVp3oNJ6WZgwMOLFd06M+SSLgQVBCRnNarNpFTldo+Q2xDWoQ0IO+Y19DurB+E czOFWeQLC5Ro/CrOKh9QuEexqGq5FqIPVHCqNBYvcdYO/622BItf0snrAlz2gb2GRtWA XHw/qZD0bAhSIvb14r+iXDBYq6fVWZDpmw74X9Pj8wLP2kGPlFt9G7lqoPmoEA7x1ErP 7JOP3pzrbjmKnvJoYgCSGAIbWW+8pc6KqEjk5CYYItc1XFB/XhcgKLaBhm8kJG9GJWuH 5mfg== X-Received: by 10.28.7.138 with SMTP id 132mr11642555wmh.100.1448202792621; Sun, 22 Nov 2015 06:33:12 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id wh10sm8844885wjb.45.2015.11.22.06.33.10 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 06:33:11 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 In-Reply-To: <87vb8urut4.fsf@winky.hogwarts> 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:109058 Archived-At: On 11/22/2015 04:08 PM, Andreas Matthias wrote: > In the example given Rectangle is a data structure called table and a > table is an associative array. In Lua you can put variables and > functions into a table. So Rectangle.getPos() is the function getPos() > of table Rectangle. So I think what you're saying is lua-mode should add "." to the syntax-class "symbol". However: > Though Lua does not know the concept of classes, it > is easy to model object-oriented behavior by means of tables. > > In addition to the dot-operator there's also a colon-operator in Lua which > acts like the dot-operator but hides the self/this parameter of OOP. Is it usual that, when defining classes that way, you *will* define methods using the dot notation, and then later use them with an "instance variable", using the colon notation? Like in this article: http://www.lua.org/pil/16.html You define the method with "function Account.withdraw (self, v)", and then use it in "a1.withdraw(a1, 100.00)". It seems that etags should at least output two tag names for this declaration: both "Account.withdraw" and just "withdraw".