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 17:41:55 +0100 Message-ID: <87k2parnos.fsf@winky.hogwarts> References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> <87vb8urut4.fsf@winky.hogwarts> <5651D225.10405@yandex.ru> <87r3jirs3j.fsf@winky.hogwarts> <5651DDFD.4070103@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448210542 4807 80.91.229.3 (22 Nov 2015 16:42:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Nov 2015 16:42:22 +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 17:42:10 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 1a0XiL-00042B-TP for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 17:42:10 +0100 Original-Received: from localhost ([::1]:56635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0XiL-0001x6-Ci for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Nov 2015 11:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0XiH-0001vs-TF for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 11:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0XiE-0004dh-Fj for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 11:42:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0XiE-0004dd-CX for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 11:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0XiE-00043H-9P for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2015 11:42: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 16:42: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.144821051615558 (code B ref 21934); Sun, 22 Nov 2015 16:42:02 +0000 Original-Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 16:41:56 +0000 Original-Received: from localhost ([127.0.0.1]:48387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Xi8-00042q-Cp for submit@debbugs.gnu.org; Sun, 22 Nov 2015 11:41:56 -0500 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:35109) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Xi5-00042i-TV for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 11:41:54 -0500 Original-Received: by wmuu63 with SMTP id u63so28398412wmu.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 08:41:53 -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=WuwAVChlVvHGPWSOD57CUcVErkXBsGgArR/eqKIFEa4=; b=ISxUU6liJr+FUmNzoYGSpDToijG7RySEh3ZgmeZxIwEv5aFKZ53q9mTwNkI+H1JNU9 zqHBgHtXoL2fpdcUB5+KcErwcdbiNk7mbo671a6o6CnHTcGHMi9RyPsVsuwSseLpwfIM IiQWy7iIsI8HQdc/o4gvOiGMbIsq226zMnaHzDOk+yx4lI1eFmsQdX4VM2q1XlmySLTY aLusOS4cjUpG05EbYL/FcDALB4ixbPyVpS0o643LN6n114GOp4O4Ule6MQtZPrGRI2Og JbwP8G+RKhyHXqv/eEuPRwPg8XHQdsiJBLHgtcaYKkTAwNqGh6xjZxPV1fylq6E4oStz DYzw== X-Received: by 10.28.0.149 with SMTP id 143mr12374384wma.48.1448210513220; Sun, 22 Nov 2015 08:41:53 -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 h67sm9223051wmf.17.2015.11.22.08.41.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Nov 2015 08:41:52 -0800 (PST) Original-Received: by winky.hogwarts (Postfix, from userid 1000) id A6D1A16E0588; Sun, 22 Nov 2015 17:41:55 +0100 (CET) In-Reply-To: <5651DDFD.4070103@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 17:23: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:109071 Archived-At: Dmitry Gutov wrote: > On 11/22/2015 05:06 PM, Andreas Matthias wrote: > >>> So I think what you're saying is lua-mode should add "." to the syntax-class >>> "symbol". However: >> >> I'm sorry, I'm not familiar with emacs internals like the syntax table. > > The above would mean that (thing-at-point 'symbol) will return > `Rectangle.getPos', and not just `getPos'. > > So when you press M-., that's what xref-find-definitions (or find-tag) will be > searching for. If you use the table as a "normal" table, you access it like: Retangle.getPos() If you use it for OOP then you would access the function through an object like: myRec.getPos() In the first case returning `Rectangle.getPos' would be usefull, in the second case just `getPos'. I hope I don't get lost in this discussion. It's hard to distinguish between "complete the tag" and "find the tag"...