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 15:08:07 +0100 Message-ID: <87vb8urut4.fsf@winky.hogwarts> References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448201364 30852 80.91.229.3 (22 Nov 2015 14:09:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 14:09:24 +0000 (UTC) Cc: 21934@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 22 15:09:12 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 1a0VKJ-00048w-51 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 15:09:11 +0100 Original-Received: from localhost ([::1]:56207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0VKJ-0006El-7u for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 09:09:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0VKF-0006Ee-Ve for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:09:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0VKA-0005ov-VG for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:09:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0VKA-0005or-Rx for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0VKA-0008On-8S for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 09:09: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 14:09: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.144820128932214 (code B ref 21934); Sun, 22 Nov 2015 14:09:02 +0000 Original-Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 14:08:09 +0000 Original-Received: from localhost ([127.0.0.1]:47711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0VJJ-0008NW-Bg for submit@debbugs.gnu.org; Sun, 22 Nov 2015 09:08:09 -0500 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:32924) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0VJH-0008NM-L4 for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 09:08:08 -0500 Original-Received: by wmec201 with SMTP id c201so128339114wme.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 06:08:07 -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=Z+1aAwItkcAjQMbYlHvxMjpgskc8JmGjmt+JWy8Wq7s=; b=FstrLgs82ShZQLP/UsthwgsqkpEIiWKguQ6psrkMCesjjrq8uWs+XTRObkODEpj939 Id3YOf+hMhYvD6SrxvSZNXpQYmNslbKp/N+cq1iPxVhNERT/jIzfooRzQAcUgtoX5w+m /lSiJOBydzlNlWrtyKE7vJ1uSIlH/D0ZqRkImqxSdvDRXTKYjwiOxMT/OcN3Gfpnsi8D KUrsgSEWzYHDR0ZS2I0cskQfvWvxg2fuSNP3kUtMJ+Ypr1LlZ/egGvNgXn2UNv2UDwFy rLAOpO3u/wxshPnYkyfDyO77dP8rwv7FB3VZfkQu6zxJ59A6I8oZmF1Ihrqac7oLS+fb jnJQ== X-Received: by 10.28.210.137 with SMTP id j131mr5602073wmg.93.1448201287016; Sun, 22 Nov 2015 06:08:07 -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 n127sm8722711wmf.12.2015.11.22.06.08.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Nov 2015 06:08:06 -0800 (PST) Original-Received: by winky.hogwarts (Postfix, from userid 1000) id 60C2416E061E; Sun, 22 Nov 2015 15:08:07 +0100 (CET) In-Reply-To: <56511795.2050207@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 03:17:09 +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:109057 Archived-At: Dmitry Gutov wrote: > That is, of course, if "." always goes after the name of the class/module/etc > that "getPos" is defined in, and it can't follow a variable name. I'm not > familiar with Lua's syntax. 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. 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.