From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 14:47:29 2015 Received: (at submit) by debbugs.gnu.org; 16 Nov 2015 19:47:30 +0000 Received: from localhost ([127.0.0.1]:40479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyPkP-0000Uv-4s for submit@debbugs.gnu.org; Mon, 16 Nov 2015 14:47:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53679) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyPkM-0000Un-Q8 for submit@debbugs.gnu.org; Mon, 16 Nov 2015 14:47:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyPkL-0004GT-Cb for submit@debbugs.gnu.org; Mon, 16 Nov 2015 14:47:26 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyPkL-0004GP-8z for submit@debbugs.gnu.org; Mon, 16 Nov 2015 14:47:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyPkJ-0000AH-Nk for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 14:47:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyPkG-0004Fz-EW for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 14:47:23 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:37419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyPkG-0004Fq-5a for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2015 14:47:20 -0500 Received: by wmww144 with SMTP id w144so134867457wmw.0 for ; Mon, 16 Nov 2015 11:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=8aSng1qTSZcnZw1O/dzXk8zONFveNJgo3p7gg7EE44I=; b=iTP7g1rNmXO0EwKby8xLsr6kuzHVMM9Q/AF06BU0rnPs2HeN5yO7vAat8zYVYIbh77 p91p1B489JhCIMSFP0CS2gUZ+n94up7XPzBOocPjhaSIqty7ulwpM+DCKF12A2u5aH3J 034MkSXIAOPx/9kCLzjfjcywNWz3Wl0Nn35QmHKvgi51NsAlWFO1TxBPKPtTFQk/ofAy gA3CxZkbY6FO1qvpr3iqwaUHt83P96RHrVUDVtWFd8RGWh/soZTt36idFFpQhrSSBi5H fYOIOdwh1D8QIDLe6Ax1XUdRHk2r8FLzG/pNOUC7s9MyI1QUJF1fQ8vdwVCznqdpyuPP xMng== X-Received: by 10.28.73.11 with SMTP id w11mr19525735wma.44.1447703239201; Mon, 16 Nov 2015 11:47:19 -0800 (PST) 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 i18sm20146007wmf.6.2015.11.16.11.47.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 11:47:18 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 09C9E16E064E; Mon, 16 Nov 2015 20:47:16 +0100 (CET) From: Andreas Matthias To: bug-gnu-emacs@gnu.org Subject: 24.5; find-tag: reading TAGS file incorrectly Date: Mon, 16 Nov 2015 20:47:16 +0100 Message-ID: <87ziyd20cb.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain find-tag does not read the TAGS file correctly. This concerns all tags in the TAGS file which contain a period, e.g.: Shape.getPos. Attached is a lua-file with its corresponding TAGS file. Running M-x find-tag does not list the tags correctly. --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=test.lua Content-Transfer-Encoding: base64 UmVjdGFuZ2xlID0ge30KZnVuY3Rpb24gUmVjdGFuZ2xlLmdldFBvcyAoKQplbmQKCkNpcmNsZSA9 IHt9CmZ1bmN0aW9uIENpcmNsZS5nZXRQb3MgKCkKZW5kCg== --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=TAGS Content-Transfer-Encoding: base64 DAp0ZXN0Lmx1YSw2MQpmdW5jdGlvbiBSZWN0YW5nbGUuZ2V0UG9zIH8yLDE1CmZ1bmN0aW9uIENp cmNsZS5nZXRQb3MgfzYsNjEK --=-=-= Content-Type: text/plain I think the problem is in function etags-tags-completion-table() in etags.el. Here is a patch: --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=etags.patch --- etags.el.orig 2015-11-16 20:25:20.153470934 +0100 +++ etags.el 2015-11-16 20:25:27.101470859 +0100 @@ -1285,8 +1285,8 @@ ;; \6 is the line to start searching at; ;; \7 is the char to start searching at. (while (re-search-forward - "^\\(\\([^\177]+[^-a-zA-Z0-9_+*$:\177]+\\)?\ -\\([-a-zA-Z0-9_+*$?:]+\\)[^-a-zA-Z0-9_+*$?:\177]*\\)\177\ + "^\\(\\([^\177]+[^-.a-zA-Z0-9_+*$:\177]+\\)?\ +\\([-.a-zA-Z0-9_+*$?:]+\\)[^-.a-zA-Z0-9_+*$?:\177]*\\)\177\ \\(\\([^\n\001]+\\)\001\\)?\\([0-9]+\\)?,\\([0-9]+\\)?\n" nil t) (intern (prog1 (if (match-beginning 5) --=-=-= Content-Type: text/plain Andreas In GNU Emacs 24.5.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2015-08-25 on winky Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.3 LTS Configured using: `configure --prefix=/home/andreas/local/emacs-24.5' Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t show-paren-mode: t TeX-PDF-mode: t global-auto-complete-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow flyspell ispell nnir emacsbug misearch multi-isearch derived apropos help-mode thingatpt ac-etags etags lua-mode rx flow-fill mule-util w3m-form w3m browse-url doc-view jka-compr dired image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util mm-archive qp vc-dispatcher vc-svn sort gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml disp-table gnus-topic nndraft nnmh nnfolder parse-time bbdb-gnus bbdb-mua bbdb-com netrc network-stream auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core starttls tls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime password-cache dig mailcap nntp gnus-cache gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range message sendmail format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util mail-prsvr wid-edit flymake compile comint ansi-color ring paren cus-start cus-load bbdb bbdb-site timezone git-messenger auto-complete-auctex latex easy-mmode tex-style tex dbus xml crm advice help-fns mmm-noweb mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat cl auto-complete-config auto-complete edmacro kmacro cl-macs gv popup cl-loaddefs cl-lib tex-site info easymenu package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 463756 69676) (symbols 48 162620 0) (miscs 40 205 925) (strings 32 181716 11817) (string-bytes 1 4773158) (vectors 16 34424) (vector-slots 8 759595 16405) (floats 8 357 427) (intervals 56 17755 62) (buffers 960 35) (heap 1024 70832 3857)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 23:01:52 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 04:01:52 +0000 Received: from localhost ([127.0.0.1]:40704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyXSp-0006ht-E8 for submit@debbugs.gnu.org; Mon, 16 Nov 2015 23:01:51 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:38023) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyXSU-0006hP-Oe for 21934@debbugs.gnu.org; Mon, 16 Nov 2015 23:01:49 -0500 Received: by wmec201 with SMTP id c201so7610356wme.1 for <21934@debbugs.gnu.org>; Mon, 16 Nov 2015 20:01:30 -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=xxrLg7BVehXuyfA4HiFjfKtlCInTT7ox6parKtpzqHA=; b=JNtOPX1PuBiIaAKGvfgCFFhuatGYNQ7jsLs3iQoInRCSD7vGDs/JAp75ANyrW8lPCR yJdlO0fjiAj8hTpLEUiW5r9P+7zUQEt/VLipYBr0g9bkCaUuV3vMVVfN188YpKrgwTaT dq9/CL1Co3bm1MpCdKzNoFSL6MgumfN+BVb7WVZGKC1W5YUdbce9dc/KpBkJFzdZyTU5 p5nvEqII2ySTY9S+N+S5qPrdwSFxs6q1imvD9VZ5ZW8ROqqOV0FBz2A3IFSx8iDyGKtJ zIbYoFZBa2NLAveY5WoACLTgsAhbSB6XvEUbHsblmnYSA7P4pEIUlnDGjp2DjZabPMcx uM1w== X-Received: by 10.194.94.100 with SMTP id db4mr39059469wjb.110.1447732890128; Mon, 16 Nov 2015 20:01:30 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id u4sm31281082wjz.4.2015.11.16.20.01.28 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Nov 2015 20:01:29 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Eli Zaretskii , 21934@debbugs.gnu.org References: <87ziyd20cb.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <564AA697.9000203@yandex.ru> Date: Tue, 17 Nov 2015 06:01:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <87ziyd20cb.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Andreas Matthias X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli, please take a look at TAGS attached to this bug report. Do the entries there satisfy the "implicit name" conditions? etags that comes with Emacs outputs a TAGS file with explicit tags for these functions, and that naturally works with find-tag. But I wonder if the example TAGS (produced by a different program, apparently) is also valid. And if so, why Emacs's etags doesn't use the implicit tags. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 06:05:42 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 11:05:42 +0000 Received: from localhost ([127.0.0.1]:40970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zye4z-0000Ix-P8 for submit@debbugs.gnu.org; Tue, 17 Nov 2015 06:05:41 -0500 Received: from gproxy5-pub.mail.unifiedlayer.com ([67.222.38.55]:34310) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1Zye4x-0000Ip-Qg for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 06:05:40 -0500 Received: (qmail 29115 invoked by uid 0); 17 Nov 2015 11:05:33 -0000 Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy5.mail.unifiedlayer.com with SMTP; 17 Nov 2015 11:05:33 -0000 Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw2 with id ib5K1r00k2UdiVW01b5NFA; Tue, 17 Nov 2015 04:05:31 -0700 X-Authority-Analysis: v=2.1 cv=Jv9i8qIC c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=x_XPkuGwIRMA:10 a=qtqOOiqGOCEA:10 a=pGLkceISAAAA:8 a=Oo-mvQjXX9s66B4TCesA:9 a=k0JpyBJZ_hsA:10 Received: from [76.218.37.33] (port=50124 helo=TAKVER2) by host114.hostmonster.com with esmtpa (Exim 4.84) (envelope-from ) id 1Zye4f-0003K7-Cq; Tue, 17 Nov 2015 04:05:21 -0700 From: Stephen Leake To: Andreas Matthias Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-Reply-To: <87ziyd20cb.fsf@winky.hogwarts> (Andreas Matthias's message of "Mon, 16 Nov 2015 20:47:16 +0100") References: <87ziyd20cb.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) Date: Tue, 17 Nov 2015 05:05:08 -0600 Message-ID: <861tboantn.fsf@stephe-leake.org> MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 76.218.37.33 authed with stephen_leake@stephe-leake.org} X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Andreas Matthias writes: > Attached is a lua-file with its corresponding TAGS file. What program produced the TAGS file? -- -- Stephe From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 11:07:41 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 16:07:41 +0000 Received: from localhost ([127.0.0.1]:41918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyinF-0002c6-4p for submit@debbugs.gnu.org; Tue, 17 Nov 2015 11:07:41 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:34118) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zyims-0002bL-RJ for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 11:07:38 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NXY00F00V423T00@a-mtaout20.012.net.il> for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 18:06:18 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXY00EI2VEGXU50@a-mtaout20.012.net.il>; Tue, 17 Nov 2015 18:06:16 +0200 (IST) Date: Tue, 17 Nov 2015 18:06:15 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <564AA697.9000203@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Gutov Message-id: <83egfobog8.fsf@gnu.org> References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Cc: Andreas Matthias > From: Dmitry Gutov > Date: Tue, 17 Nov 2015 06:01:27 +0200 > > Eli, please take a look at TAGS attached to this bug report. Will do. It could take a couple of days, though, before I have enough time for that. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 12:17:58 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 17:17:58 +0000 Received: from localhost ([127.0.0.1]:41956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyjtF-0004ng-Ol for submit@debbugs.gnu.org; Tue, 17 Nov 2015 12:17:57 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:34682) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zyjsv-0004mv-MG for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 12:17:56 -0500 Received: by wmvv187 with SMTP id v187so238786239wmv.1 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 09:17:37 -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=OLA9zpcPqENSw2+PNrt23vW/sI+LbzWRQR2V4wDQOiU=; b=m0vw/aZwcQd635dzBXOcNkVISTATqHZDyKrsaXwr5TqqgmdKYPs774ZOZZdrOIG3hE f5GgT+yYYojExLngxWEfxRKRrKlyBWn9tcLXE2+Ac3w6e4yoFZKYpSfOlvSK46zio8wY p4DRJ/PvTFvel1t6n7NXJyJZ6aT8SK+NS1k6UEq5/96eU9SStuseWPBes35A17uynEnz Y6JwdTLoZ3s6m3ZtXhFcYszt1q3NUURyrbXbEjPQ+1ndw5tsb8niZBDdAqoaRNqGxLzd w2QiJ7xJ/OFL9k0wRheuo1ynoHJTO6e/di3xkOGL/DhurQSRIHzNNaywzVAXb6BV5BUi 6k2g== X-Received: by 10.28.194.135 with SMTP id s129mr3799743wmf.38.1447780656873; Tue, 17 Nov 2015 09:17:36 -0800 (PST) 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 l81sm24977437wmb.2.2015.11.17.09.17.35 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 09:17:36 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id CA48F16E05E1; Tue, 17 Nov 2015 18:17:36 +0100 (CET) From: Andreas Matthias To: Stephen Leake Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly References: <87ziyd20cb.fsf@winky.hogwarts> <861tboantn.fsf@stephe-leake.org> Date: Tue, 17 Nov 2015 18:17:36 +0100 In-Reply-To: <861tboantn.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 17 Nov 2015 05:05:08 -0600") Message-ID: <87twoklf4f.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Stephen Leake wrote: > Andreas Matthias writes: > >> Attached is a lua-file with its corresponding TAGS file. > > What program produced the TAGS file? It's etags from the emacs distribution. Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 12:21:56 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 17:21:56 +0000 Received: from localhost ([127.0.0.1]:41960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zyjx5-0004wS-Os for submit@debbugs.gnu.org; Tue, 17 Nov 2015 12:21:55 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:33012) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zyjx4-0004wL-9T for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 12:21:54 -0500 Received: by wmec201 with SMTP id c201so239201155wme.0 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 09:21: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=nM5X521119L3NS4WijDI/MZn0YnU2IsuoT+TbOF/DLk=; b=Xg4HMSo6+OxqPDRMxw/1JLsGh25lWI/aJikwoLYTIoihtxtUm752JKV75n220jRU/9 lLQlXFcqDlFuHMN6vf3n1+1kxlL7sZllRs2MCkCW+kuJQAaHuysnHNCxGLFcCIRZ+ICS wnYX1GOzQppZjlCmZGsKVLCpOF8Q7QpwogLz6CKDSGp1mRcV6cqqOgxwTxooC4m+SIdR OGO0USFdNVkuVstdth3CDMYv67lsXDsdm4lAueRIXe3VI+ea1j00AhyEgaUbmPMIUJTV smr0kY6bkH841OHJRk3YG2ysyMoHpXuT0OD0uuOF2sIzbgwJjklIOyzYLYrGCe3Yi6Rk o9RA== X-Received: by 10.28.17.7 with SMTP id 7mr3758935wmr.45.1447780913717; Tue, 17 Nov 2015 09:21:53 -0800 (PST) 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 i18sm24956226wmf.6.2015.11.17.09.21.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 09:21:53 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 15D3516E05E1; Tue, 17 Nov 2015 18:21:54 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> Date: Tue, 17 Nov 2015 18:21:53 +0100 In-Reply-To: <564AA697.9000203@yandex.ru> (Dmitry Gutov's message of "Tue, 17 Nov 2015 06:01:27 +0200") Message-ID: <87poz8lexa.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Eli Zaretskii , 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov wrote: > Eli, please take a look at TAGS attached to this bug report. Do the entries > there satisfy the "implicit name" conditions? > > etags that comes with Emacs outputs a TAGS file with explicit tags for these > functions, and that naturally works with find-tag. > > But I wonder if the example TAGS (produced by a different program, apparently) > is also valid. And if so, why Emacs's etags doesn't use the implicit tags. The TAGS file was created with etags from the emacs distribution. But I do not know the difference between implicit and explicit tags, sorry. Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 12:24:12 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 17:24:12 +0000 Received: from localhost ([127.0.0.1]:41964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyjzI-00051k-5X for submit@debbugs.gnu.org; Tue, 17 Nov 2015 12:24:12 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:33694) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyjzG-00051c-LB for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 12:24:11 -0500 Received: by wmec201 with SMTP id c201so239304012wme.0 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 09:24:10 -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=Su7B0T9Ut6r8CkDh8D8o0hh4+dtZjsd0ZLJ7Y0vFvgo=; b=rvov94gH7lSPfjWa802DPMy0nLNaJaObaU6rOzdt0p7SCM41ZEQwzKXYJ22sOL7sU+ F+kcxPVKQ1I4F2I4ryuCXU/IZfuEHVn9KlW5tbY+yxBd5JMkxXHy1NltSMWNymrHJy+Z rdvOG5qgdskv/TtPoIRzThw4U3awWUN4es1eR9JN6tF9C/5xYLIhRxOO3536ekyATGQ3 sWGXSgmRVqve3Dko0Of/7imnLzbMNoD72sbqpKC54DyWvirk/8xuGF4OKC1IboJwKLj9 f5Rj4ahGJ10ih5Sn4f+xBTJ6UXqc3miNXS2F+Do6Jr6YDkSTJh9c2t9qYuNt4YzKWcRo Updw== X-Received: by 10.28.94.194 with SMTP id s185mr4137314wmb.90.1447781050127; Tue, 17 Nov 2015 09:24:10 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id cv3sm39564894wjc.20.2015.11.17.09.24.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 09:24:09 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <87poz8lexa.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <564B62B7.4030509@yandex.ru> Date: Tue, 17 Nov 2015 19:24:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <87poz8lexa.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/17/2015 07:21 PM, Andreas Matthias wrote: > The TAGS file was created with etags from the emacs distribution. Not the version from master, though? From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 12:40:26 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 17:40:26 +0000 Received: from localhost ([127.0.0.1]:41972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZykF0-0005Yz-2j for submit@debbugs.gnu.org; Tue, 17 Nov 2015 12:40:26 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:33586) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZykEx-0005Yp-RY for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 12:40:24 -0500 Received: by wmec201 with SMTP id c201so240042964wme.0 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 09:40:23 -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=weQq5lG3dgVRsQ57uxSQvPpjSVLx5h34hT9v5tJo8ic=; b=GueT+Wxxr5oTpNTIwDxh8s9hDoMiBdox6gXhspxO09p4bEocA/m7Uzn2scHEcg3IPH Ys+QGftO2lPD7cquMPKepYClEdbUOh+m3S4ljfb8GzvKEPdKxOGbX//G8eVXo5aD/WRz /Mw0Pvw2oGuFJjUUqYa/89fHV8hTuoPcT/ixfR4/LpVZ+Pg/ozTS1K11sPF5r/9hyYhv rIp+lTKLabO+L12qSuysWt2BRgohk2un3jza5ehpY2be7Xb2iu4YaKOW2qZEwzHUMdX1 4HBjCs/49nbmPYmem7tL4YYCOjE+/yMypROTTist1lWPmcjfu1VnKiO8Ay9VzdRk9vBO kwlA== X-Received: by 10.194.82.99 with SMTP id h3mr41260245wjy.41.1447782023285; Tue, 17 Nov 2015 09:40:23 -0800 (PST) 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 n127sm13747611wmf.12.2015.11.17.09.40.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 09:40:22 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 050F716E05E1; Tue, 17 Nov 2015 18:40:23 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <87poz8lexa.fsf@winky.hogwarts> <564B62B7.4030509@yandex.ru> Date: Tue, 17 Nov 2015 18:40:23 +0100 In-Reply-To: <564B62B7.4030509@yandex.ru> (Dmitry Gutov's message of "Tue, 17 Nov 2015 19:24:07 +0200") Message-ID: <87bnasle2g.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov wrote: > On 11/17/2015 07:21 PM, Andreas Matthias wrote: > >> The TAGS file was created with etags from the emacs distribution. > > Not the version from master, though? Tested with: etags (GNU Emacs 24.3) etags (GNU Emacs 24.5) From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 12:46:40 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 17:46:40 +0000 Received: from localhost ([127.0.0.1]:41996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZykL1-0005v1-NN for submit@debbugs.gnu.org; Tue, 17 Nov 2015 12:46:40 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38004) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZykKh-0005tm-HB for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 12:46:38 -0500 Received: by wmec201 with SMTP id c201so37740427wme.1 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 09:46:18 -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=YlXv/MbhudPd560ya4PL9KlxndhgOeQhMLl3RFdWMsg=; b=ethoolZvNLHXgdb+DTQ5/6UsIAFAFicFO1lmKX4/B/EGwZYf94dcXPz8jQXMkPL59h 8MaCeWfNey1ZQPx6TI5TJSMKpkU9IhRV43yCzl6YUxon7UIpaQznJjLBaaVxeINVYQdI kvMd0ATpRxYFRENtvGyleL+Qu8k6K6rQik9nDPmqj5EfMtsw1XdBvVpKVcLoTQcsR7TS Ym2x0Ea8lIb0rq5UuBV6VZ7hF5SB45GU3tH46mgEu2sRyL6yE6oUr0VjzMaGcCWkkmsP OyF0BKyNgzigexEqjzr/Tp5uO3dQmJSibksKNsoVYZmOdKXYusIiGaf4fzfEPNeepxJu sEGA== X-Received: by 10.28.195.10 with SMTP id t10mr3891865wmf.11.1447782378882; Tue, 17 Nov 2015 09:46:18 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id q6sm20466432wmd.8.2015.11.17.09.46.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 09:46:17 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <87poz8lexa.fsf@winky.hogwarts> <564B62B7.4030509@yandex.ru> <87bnasle2g.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <564B67E7.7030405@yandex.ru> Date: Tue, 17 Nov 2015 19:46:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <87bnasle2g.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/17/2015 07:40 PM, Andreas Matthias wrote: > Tested with: > > etags (GNU Emacs 24.3) > > etags (GNU Emacs 24.5) Could you test with emacs from the branch emacs-25? We've had some major-ish changes in etags recently. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 14:39:10 2015 Received: (at 21934) by debbugs.gnu.org; 17 Nov 2015 19:39:10 +0000 Received: from localhost ([127.0.0.1]:42031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zym5u-0002rW-6i for submit@debbugs.gnu.org; Tue, 17 Nov 2015 14:39:10 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:33650) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zym5a-0002qG-Ll for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 14:39:09 -0500 Received: by wmec201 with SMTP id c201so245049481wme.0 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 11:38:49 -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=lR+x6L0hVAHw63W3BmBMdEvurHpQlMiLH8xfwBafmSU=; b=QfNv7TfwvVoXpp4CumiCFgWs1PhYgqx7TXC3HJW6ToTYY3LLXENVctUla54VrfHhff +Mzuds9nC1hrKn+iwjPCm3FIFhpJoQ/KqDqxkNqkewyk+oj9BUcKgJ98tcSw+OFsqch7 zNzFP2hJzVIkEfQHN4qTrpbylM+2KgByr6ESdO22dRmrA7GxZXzwn7CKKPmYuHGgxKSA AdpbpBZ3yW2rWbO19QHa2lFeblPaWmzDIbz09oA0pCven/4aK9SaOW8oYUTQb42NZoME sCKwUpdvAFqGKTnZj0WVJOtaWBzZktXNY2D6rMXdzPkHPhrO/71+aqMt9uiwT7ANrgl8 kQFw== X-Received: by 10.194.171.97 with SMTP id at1mr9374972wjc.39.1447789129722; Tue, 17 Nov 2015 11:38:49 -0800 (PST) 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 q1sm41412232wje.39.2015.11.17.11.38.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 11:38:49 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id CD6D916E05E1; Tue, 17 Nov 2015 20:38:49 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <87poz8lexa.fsf@winky.hogwarts> <564B62B7.4030509@yandex.ru> <87bnasle2g.fsf@winky.hogwarts> <564B67E7.7030405@yandex.ru> Date: Tue, 17 Nov 2015 20:38:49 +0100 In-Reply-To: <564B67E7.7030405@yandex.ru> (Dmitry Gutov's message of "Tue, 17 Nov 2015 19:46:15 +0200") Message-ID: <877flgl8l2.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov wrote: > On 11/17/2015 07:40 PM, Andreas Matthias wrote: > >> Tested with: >> >> etags (GNU Emacs 24.3) >> >> etags (GNU Emacs 24.5) > > Could you test with emacs from the branch emacs-25? We've had some major-ish > changes in etags recently. commit 58e6235007e6761fb9734b942ecff94bf4e9ba68 etags (GNU Emacs 25.1.50) This one creates the same TAGS file... Hmm... Am I doing something wrong...? Andreas From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 17 20:56:56 2015 Received: (at 21934) by debbugs.gnu.org; 18 Nov 2015 01:56:56 +0000 Received: from localhost ([127.0.0.1]:42175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyrzU-0008SW-FN for submit@debbugs.gnu.org; Tue, 17 Nov 2015 20:56:56 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:36976) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyrzB-0008S4-0L for 21934@debbugs.gnu.org; Tue, 17 Nov 2015 20:56:55 -0500 Received: by wmww144 with SMTP id w144so51818945wmw.0 for <21934@debbugs.gnu.org>; Tue, 17 Nov 2015 17:56:36 -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=GTL/VjcJRZkj6+JW9uF9e1kK7DdJ2IZBvwwe/I20Scc=; b=vQXldVKP67feG2TRLDjdPBW7QP8AhDsYwbLRzdXqRKhf+SCgA/J3arnKvbGqZD6qL+ gZBijYmFv4x7oQcdpdMX6VLOZ4Gnx2IFMKE/BXN9nPlkDRXeOtQL7SFmnJQEr2qxNzkG XXXoOE4e55gPIu/mbYwhxJ4HXLu5hzoOzEQvsh/RFVq9kqYbSohvQ0/j8cdqOiy0nlD6 R+qKvg0OgLP6rlrNFzjMZXqa1LRWiHPVvfmtmhOq5EtVK81oDeZiQIOxguOAJxji4WSb 0zuem8r6aKRuFIU3IhOYbGgZLahQoqrg1ICR8mEfmMtVEdi+N5mjGcaB1ZA1GOs4j16l iPQA== X-Received: by 10.28.153.130 with SMTP id b124mr6441423wme.12.1447811796177; Tue, 17 Nov 2015 17:56:36 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id b12sm26711778wma.6.2015.11.17.17.56.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Nov 2015 17:56:34 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <87poz8lexa.fsf@winky.hogwarts> <564B62B7.4030509@yandex.ru> <87bnasle2g.fsf@winky.hogwarts> <564B67E7.7030405@yandex.ru> <877flgl8l2.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <564BDAD0.8080702@yandex.ru> Date: Wed, 18 Nov 2015 03:56:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <877flgl8l2.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/17/2015 09:38 PM, Andreas Matthias wrote: > This one creates the same TAGS file... Hmm... Am I doing something wrong...? I'm terribly sorry, I had it backwards: Emacs's etags generates TAGS file just like you submitted. I also have a different etags in my system, that comes from Exuberant Ctags, and it generates a different TAGS, looking like this: test.lua,98 function Rectangle.getPos ()^?Rectangle.getPos ^A2,15 function Circle.getPos ()^?Circle.getPos ^A6,61 And that one works with `find-tag' just fine. So it would be nice if Eli could comment on the difference, and whether etags should be patched instead. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 21 08:09:14 2015 Received: (at 21934) by debbugs.gnu.org; 21 Nov 2015 13:09:14 +0000 Received: from localhost ([127.0.0.1]:46684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a07uj-0005Z8-QV for submit@debbugs.gnu.org; Sat, 21 Nov 2015 08:09:14 -0500 Received: from mtaout26.012.net.il ([80.179.55.182]:58821) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a07ug-0005Yz-K7 for 21934@debbugs.gnu.org; Sat, 21 Nov 2015 08:09:12 -0500 Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NY6007001PQP700@mtaout26.012.net.il> for 21934@debbugs.gnu.org; Sat, 21 Nov 2015 15:10:33 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NY600L961XLAVA0@mtaout26.012.net.il>; Sat, 21 Nov 2015 15:10:33 +0200 (IST) Date: Sat, 21 Nov 2015 15:07:24 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <564AA697.9000203@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Gutov Message-id: <83egfj4i2b.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Cc: Andreas Matthias > From: Dmitry Gutov > Date: Tue, 17 Nov 2015 06:01:27 +0200 Sorry for the delay; Lifeā„¢ intervened. > Eli, please take a look at TAGS attached to this bug report. Do the > entries there satisfy the "implicit name" conditions? Yes, they do. Etags doesn't treat a period '.' as ending an identifier, except in C-like languages. And that is good, since Lua evidently wants to support identifiers with embedded periods. > I also have a different etags in my system, that comes from Exuberant > Ctags, and it generates a different TAGS, looking like this: > > test.lua,98 > function Rectangle.getPos ()^?Rectangle.getPos ^A2,15 > function Circle.getPos ()^?Circle.getPos ^A6,61 > > And that one works with `find-tag' just fine. So it would be nice if Eli > could comment on the difference, and whether etags should be patched > instead. I've looked at the related code, and my conclusion is that there's more to this than meets the eye. The OP complained about _completion_ on tag names, and suggested to fix a regexp used by etags-tags-completion-table. That regexp indeed doesn't allow a period in an identifier name (probably because it's disallowed in C-like languages). However, find-tag itself doesn't use that regexp, so typing "M-x find-tag RET Rectangle.getPos RET" finds that identifier with no problems. Now, find-tag is deprecated in Emacs 25, and M-. invokes xref-find-definitions instead. AFAIU, etags-tags-completion-table is no longer relevant with xref. xref-find-definitions, if it's invoked with a prefix argument, and if you type "Rectangle.getPos RET" at its prompt, not surprisingly also finds the identifier. Trying to invoke completion after "C-u M-.", with test.lua as the current buffer, doesn't succeed to complete even on Rectangle, so the situation here is somewhat worse, but I'm not sure why. If we want "M-." without prefix argument to be able to find these identifiers, we need first to take care of how it determines the symbol at point. Currently, it calls (thing-at-point 'symbol), which predictably guesses wrong. IOW, we could fix the regexp as suggested by the OP (AFAICS, that should not cause any regressions for etags.el), but that won't solve the problems "M-." in Emacs 25 will have with such identifiers in Lua sources. Suggestions and comments are welcome. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 21 20:17:33 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 01:17:34 +0000 Received: from localhost ([127.0.0.1]:47487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0JHZ-00027i-Cm for submit@debbugs.gnu.org; Sat, 21 Nov 2015 20:17:33 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:35172) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0JHF-00027H-1P for 21934@debbugs.gnu.org; Sat, 21 Nov 2015 20:17:31 -0500 Received: by wmuu63 with SMTP id u63so16544211wmu.0 for <21934@debbugs.gnu.org>; Sat, 21 Nov 2015 17:17: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=8/h/0xHjBsS0mZ+plqxyg65EX1f2NJjTsmmRi5/Xq7I=; b=uORRR/TNzFHEpCwWpM72dbTTWZf5Dc2uFC0sVhR9jfHImbV6jWDvcldvZE88mKsUSx dETyZBaYDFK/ubT73EZ/ZSZp5hsf4A0pNW3kZuSpZW3l5jNgNE+R1HYrQ7ti0sEkUGw9 MYI54Kh0U9gboSspBkVzHNSAq/SOn2Ozi82ge+3rzkW/31EFTOrs5dtVtFC8JUeq842t lH1czQbskPa4ihkGzLfq+/Lo9yd2h7jx+/Aq6FFyqqYVtu80SVzbo0tyiio2cJT/pFwY 3HcT2D9U9OsXLEfIhQGiFfbIdAHG1r7qoSvU4cFlh91WwnCHcC9jYvbifBmYVaPbwIUp zphg== X-Received: by 10.194.78.15 with SMTP id x15mr22564857wjw.144.1448155032492; Sat, 21 Nov 2015 17:17:12 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id kw2sm3038559wjb.42.2015.11.21.17.17.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 Nov 2015 17:17:11 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Eli Zaretskii References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> From: Dmitry Gutov Message-ID: <56511795.2050207@yandex.ru> Date: Sun, 22 Nov 2015 03:17:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <83egfj4i2b.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/21/2015 03:07 PM, Eli Zaretskii wrote: > Yes, they do. Etags doesn't treat a period '.' as ending an > identifier, except in C-like languages. And that is good, since Lua > evidently wants to support identifiers with embedded periods. In that case, the submitted patch would indeed make things better. However, I wonder if we should rewrite the whole regexp in etags-tags-completion-table, to be more faithful to the "implicit tag" spec, and instead of whitelisting characters that can be used in tags, allow any character in NONAM. (Or rather, I wonder why it hasn't been written that way to begin with, and whether there are some performance pitfalls in doing so). > I've looked at the related code, and my conclusion is that there's > more to this than meets the eye. Indeed. > The OP complained about _completion_ on tag names, and suggested to > fix a regexp used by etags-tags-completion-table. That regexp indeed > doesn't allow a period in an identifier name (probably because it's > disallowed in C-like languages). However, find-tag itself doesn't use > that regexp, If does, for completion. Type M-x find-tag RET TAB, and you'll see the result of calling etags-tags-completion-table. > so typing "M-x find-tag RET Rectangle.getPos RET" finds > that identifier with no problems. That's right: the logic to "list all tags" and to "find tag named xyz" is implemented in different places. And the latter is more faithful to the "implicit tag name" definition; it's the completion table logic that needs to be fixed. > Now, find-tag is deprecated in Emacs 25, and M-. invokes > xref-find-definitions instead. AFAIU, etags-tags-completion-table is > no longer relevant with xref. It's (almost) just as relevant: type C-u M-. TAB. > xref-find-definitions, if it's invoked > with a prefix argument, and if you type "Rectangle.getPos RET" at its > prompt, not surprisingly also finds the identifier. Trying to invoke > completion after "C-u M-.", with test.lua as the current buffer, > doesn't succeed to complete even on Rectangle, so the situation here > is somewhat worse, but I'm not sure why. Is it really any different? M-x find-tag RET TAB doesn't show anything beginning with "Rectangle" either. I only get "getPos" as a completion either way. > If we want "M-." without prefix argument to be able to find these > identifiers, we need first to take care of how it determines the > symbol at point. Currently, it calls (thing-at-point 'symbol), which > predictably guesses wrong. Right, I haven't thought about it. But what else, really, could (xref-backend-identifier-at-point 'etags) return here? It only knows the current buffer's syntax table, and that its data source is etags. Either etags will have to consider that in both example declarations the tag name must be "getPos", not "xxx.getPos", and put this tag name explicitly into the entries, or lua-mode will have to change the syntax class of "." to "symbol", so that (thing-at-point 'symbol) returns "Circle.getPos" as the tag name. 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 21 23:39:17 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 04:39:17 +0000 Received: from localhost ([127.0.0.1]:47540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0MQm-00008Y-TN for submit@debbugs.gnu.org; Sat, 21 Nov 2015 23:39:17 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:37605) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0MQT-00007q-T9 for 21934@debbugs.gnu.org; Sat, 21 Nov 2015 23:39:16 -0500 Received: by wmww144 with SMTP id w144so66078129wmw.0 for <21934@debbugs.gnu.org>; Sat, 21 Nov 2015 20:38:57 -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=m7oqSK8pGLYQf3exOlw8QSuDSJYTJ1xedlE0i9BCLLI=; b=lnQTNIXZLQnnw/E5km+ceP6CB2hmyF0c1jY4QuLHA59lEQh6nWTqVJIRXF86rB3duG uCA+xpYmQAvw9AS1Hy/LQIiVTadz9pE5sOPJzxbj9TPZ/9NjXDuf+SIUVLbd9znsV/CN L0BPXpNeMUSAxdZBtsfS15lImSbphYY0qH2oX23MGukN7/a6VYbvP+k95eMqzBOvjULA g3QDIsmTRH2JIjmkg6H4fhuwXiMKVBHp2lbqHprNd2SDcRymQLS2uJcMH2dyHBPHgQe+ t26N2z+VKdAjpBL4euCGlxw0F7G0T5qH/TViEkBsYTWbiKWpvveKkvpwbIo87RydMgdZ +t8Q== X-Received: by 10.194.21.170 with SMTP id w10mr27109474wje.29.1448167137046; Sat, 21 Nov 2015 20:38:57 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id h7sm6851905wmf.0.2015.11.21.20.38.55 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 Nov 2015 20:38:56 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Eli Zaretskii References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> From: Dmitry Gutov Message-ID: <565146DE.60802@yandex.ru> Date: Sun, 22 Nov 2015 06:38:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <56511795.2050207@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/22/2015 03:17 AM, Dmitry Gutov wrote: > (Or rather, I wonder why it hasn't been written that way to begin with, > and whether there are some performance pitfalls in doing so). Pushed to emacs-25. So far, the result is uniformly positive, with up to 25% speedup (in the Linux Kernel case). Unless it causes a problem somewhere else, I believe this bug can be closed (but the accompanying discussion may well be continued). From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 09:08:09 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 14:08:09 +0000 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 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 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) 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) Received: by winky.hogwarts (Postfix, from userid 1000) id 60C2416E061E; Sun, 22 Nov 2015 15:08:07 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> Date: Sun, 22 Nov 2015 15:08:07 +0100 In-Reply-To: <56511795.2050207@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 03:17:09 +0200") Message-ID: <87vb8urut4.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Eli Zaretskii , 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 09:33:39 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 14:33:39 +0000 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 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 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) 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) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> <87vb8urut4.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <5651D225.10405@yandex.ru> Date: Sun, 22 Nov 2015 16:33:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <87vb8urut4.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Eli Zaretskii , 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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". From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 09:41:26 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 14:41:26 +0000 Received: from localhost ([127.0.0.1]:47721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0VpV-0000me-HU for submit@debbugs.gnu.org; Sun, 22 Nov 2015 09:41:25 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:33456) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0VpS-0000mV-94 for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 09:41:22 -0500 Received: by wmec201 with SMTP id c201so128930841wme.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 06:41:21 -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=G81f9hqCXfP7shG0lOq38YTMYfTafEwWdJbAUyI3Z5o=; b=CdJtmOU7yGSV8wDMUkhYEY9Dp7Njd0fiyWj1DqLhxTgXOjQjBi1Lxip4JEb7K5FP28 FNjEPecESAtdkx5GytakYgMB5+5G3x8cBJ5RtbR9OF59g53T1q6p157vpLtuf9E9L9+T 4RFI7nU4B+otbkrlGgGTIYDZ/BgIus/B//4GYTQu7N6o8AjHda9u54LAZKxkznExaYup oPzz+k/q0rkb+oWo+wLdDwaWzRtaO9tzKZZ2OV/Hik36qZtcIeSewnEQLje67NiMtAKr 74FuVZp/Upa8AurVLHYTnxEMc/RzEOxTUjob61B01fqXPQJdwAtHVDQPeRQtNbZbw0nF Up4g== X-Received: by 10.194.171.97 with SMTP id at1mr25522398wjc.39.1448203281634; Sun, 22 Nov 2015 06:41:21 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id q1sm8865382wje.39.2015.11.22.06.41.20 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 06:41:20 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias 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> From: Dmitry Gutov Message-ID: <5651D40F.3050508@yandex.ru> Date: Sun, 22 Nov 2015 16:41:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <5651D225.10405@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/22/2015 04:33 PM, Dmitry Gutov wrote: > You define the method with "function Account.withdraw (self, v)", > and then use it in "a1.withdraw(a1, 100.00)". Sorry, I meant "a:withdraw(100.00)". "a1.withdraw" doesn't look like it's used often, from the description. But feel free to correct me there, because if it is used, then "." mustn't be a symbol constituent. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 10:06:41 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 15:06:41 +0000 Received: from localhost ([127.0.0.1]:48304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0WDw-0001Xq-HJ for submit@debbugs.gnu.org; Sun, 22 Nov 2015 10:06:40 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:37100) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0WDu-0001Xi-BH for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 10:06:39 -0500 Received: by wmww144 with SMTP id w144so75517826wmw.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 07:06:37 -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=8B6Ka2lsT30fwtFUQNOAR6AilerHoRChC2Luk0V7UTU=; b=ASZ3LrqaUaTPJNfRsqqUqhMDU+rxfjq45jA05tNo6ZKw9SqviPZeSsoFF29Njz0aAy U0pgsf6fPPxHpKL9u3DL6t6SgkSL9ZjE+u0v+aUlzdU6qu3Jj7Z6r2slszXylwAYceCz FFPFxqLWTRHlfwAwlwSyqCxRWlCoa6Ke4hE5tUwiKetPjb0oEV6udntsz3ZM/ByBbENV HTQlO31El3C3mihJh2aQCt0mp5OR8k3rvXduRv3dCRwpk8HNfd3o1NTDRKdCei2UbLGg KGmPTMqcksVe8T+Kb/ljw/c20jA9lQtjBSnpRxTXnrukZDPUp2KvFs+DMm/54R8DVeDO cJfg== X-Received: by 10.194.52.3 with SMTP id p3mr29295875wjo.2.1448204797818; Sun, 22 Nov 2015 07:06:37 -0800 (PST) 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 ft4sm8948625wjb.37.2015.11.22.07.06.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Nov 2015 07:06:37 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 3A27316E061E; Sun, 22 Nov 2015 16:06:40 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> Date: Sun, 22 Nov 2015 16:06:40 +0100 In-Reply-To: <5651D225.10405@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 16:33:09 +0200") Message-ID: <87r3jirs3j.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Eli Zaretskii , 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov wrote: > 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: I'm sorry, I'm not familiar with emacs internals like the syntax table. >> 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)". Tables are the main data structure of Lua. Although the dot operator can be used in the sense of OOP, more often than not the dot operator is just used to access elements of a table. > It seems that etags should at least output two tag names for this declaration: > both "Account.withdraw" and just "withdraw". Maybe. But how do you handle getPos() from the example which exists twice, once in table Rectangle and once in table Circle? From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 10:24:05 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 15:24:06 +0000 Received: from localhost ([127.0.0.1]:48327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0WUn-0001yv-DH for submit@debbugs.gnu.org; Sun, 22 Nov 2015 10:24:05 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:35182) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0WUT-0001yC-B2 for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 10:24:03 -0500 Received: by wmuu63 with SMTP id u63so27158804wmu.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 07:23:44 -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=XTBjcbiWLuPpxdFn04hyzBuoGq2aXD68G0jMCs5PzKU=; b=VIOHfZjG8K5oDqVDDs2YFLVCocirpji72OmOm1dFvXbeiieXVjiQTJKTllVRUbPcBt 8RpzjcClaAot1I3nVaa/O3GrbbxlRWfAPXnY7TYav7hKXaZrJnmrm5EXshApV0t5TaTv GNjFk1FljeZletliid/E2g751pG+Wn1rq9DcpcWbI2O2IDEhLkUiIWUq9FszKah3BBje 1bwYLj4mbiMOqijyDGbXc1jfRVwLpRumfmzNnnuRl8FbJx0Qur9ul08huxQTdewdsLVU nQVcIUlqKiA49pJ2aebWtlUjNX9ZJGnN9zsi5tt0nHZ9ud5vkiWZJ0ieyWgC6eqM646X tnsA== X-Received: by 10.28.47.8 with SMTP id v8mr11527170wmv.30.1448205824772; Sun, 22 Nov 2015 07:23:44 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id z1sm8995426wje.35.2015.11.22.07.23.42 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 07:23:43 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias 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> From: Dmitry Gutov Message-ID: <5651DDFD.4070103@yandex.ru> Date: Sun, 22 Nov 2015 17:23:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <87r3jirs3j.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. > Tables are the main data structure of Lua. Although the dot operator > can be used in the sense of OOP, more often than not the dot operator > is just used to access elements of a table. If you use anonymous tables as well, and copy/inherit/modify them, like a = { withdraw = function(self, v) self.balance = self.balance - v end } b = a.copy() b:withdraw(10) then having "widthdraw" as the tag name seems useful. > Maybe. But how do you handle getPos() from the example which exists > twice, once in table Rectangle and once in table Circle? You add both entries to TAGS, one after another. Yes, it will double the size of the TAGS file, more or less. I think we already do that by default for C++. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 11:13:06 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 16:13:06 +0000 Received: from localhost ([127.0.0.1]:48357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0XGD-0003Gh-Qq for submit@debbugs.gnu.org; Sun, 22 Nov 2015 11:13:06 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:49742) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0XGC-0003GY-0n for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 11:13:04 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NY800K00500UR00@a-mtaout23.012.net.il> for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 18:13:02 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NY800KPP51QSP20@a-mtaout23.012.net.il>; Sun, 22 Nov 2015 18:13:02 +0200 (IST) Date: Sun, 22 Nov 2015 18:12:55 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <56511795.2050207@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Gutov Message-id: <83si3y2et4.fsf@gnu.org> References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Cc: 21934@debbugs.gnu.org, andreas.matthias@gmail.com > From: Dmitry Gutov > Date: Sun, 22 Nov 2015 03:17:09 +0200 > > > The OP complained about _completion_ on tag names, and suggested to > > fix a regexp used by etags-tags-completion-table. That regexp indeed > > doesn't allow a period in an identifier name (probably because it's > > disallowed in C-like languages). However, find-tag itself doesn't use > > that regexp, > > If does, for completion. Type M-x find-tag RET TAB, and you'll see the > result of calling etags-tags-completion-table. Completion is not an integral part of find-tag. > > Now, find-tag is deprecated in Emacs 25, and M-. invokes > > xref-find-definitions instead. AFAIU, etags-tags-completion-table is > > no longer relevant with xref. > > It's (almost) just as relevant: type C-u M-. TAB. As I said, completion in M-. in Emacs 25 works worse than in find-tag in this case: it doesn't even succeed to complete "Rec TAB" into "Rectangle". I don't know why. > > xref-find-definitions, if it's invoked > > with a prefix argument, and if you type "Rectangle.getPos RET" at its > > prompt, not surprisingly also finds the identifier. Trying to invoke > > completion after "C-u M-.", with test.lua as the current buffer, > > doesn't succeed to complete even on Rectangle, so the situation here > > is somewhat worse, but I'm not sure why. > > Is it really any different? M-x find-tag RET TAB doesn't show anything > beginning with "Rectangle" either. I only get "getPos" as a completion > either way. It's different if you type "Rec TAB". > Either etags will have to consider that in both example declarations the > tag name must be "getPos", not "xxx.getPos", and put this tag name > explicitly into the entries, or lua-mode will have to change the syntax > class of "." to "symbol", so that (thing-at-point 'symbol) returns > "Circle.getPos" as the tag name. Something like that, yes. My main point is that it's easy to solve the completion case, but that hardly help in using TAGS with Lua and the new xref commands. Something else is missing. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 11:41:56 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 16:41:56 +0000 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 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 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) 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) Received: by winky.hogwarts (Postfix, from userid 1000) id A6D1A16E0588; Sun, 22 Nov 2015 17:41:55 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> Date: Sun, 22 Nov 2015 17:41:55 +0100 In-Reply-To: <5651DDFD.4070103@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 17:23:41 +0200") Message-ID: <87k2parnos.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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"... From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 11:43:51 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 16:43:51 +0000 Received: from localhost ([127.0.0.1]:48391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Xjz-00046E-0V for submit@debbugs.gnu.org; Sun, 22 Nov 2015 11:43:51 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:34039) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Xjw-000464-Di for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 11:43:48 -0500 Received: by wmvv187 with SMTP id v187so131298793wmv.1 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 08:43:47 -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=RY+avmCxnUJLjJrIme6a+EEM6hTN2gWAg72DgXK6w4I=; b=KCOZmO98RCozsWXmhI9z4s0DHS480sk9VG9zlw/DoX1Rch5RaLw/pTzS0RfFHfVwMg Qe0oLB/DNohNqULm0YG72M7JQNzpAnaXCOycS9pWTIOOSkf4Woejd4a/OCrW/yUZQBlb A706vCQnGiU92RApTw78pvTrApZWLK2g8gB4i7TQEPTXKLLXvUsXXfdAudcwjQepTTxu U1qVnIyOFx1bHWBApDrIgg3cUxk0ZnhRMLPd5rkuBK5eE7/ZdVsPqarqjmcfFZImFQyr IBLT6uViOV2IZ3cO9O20nLnWsfnHyp9L2SD79hkMyvh9IpgQFI+9Wlm/iIsEchCsWKGa V0pA== X-Received: by 10.28.99.214 with SMTP id x205mr11172402wmb.20.1448210627870; Sun, 22 Nov 2015 08:43:47 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id d66sm9298707wma.21.2015.11.22.08.43.46 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 08:43:46 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias 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> <87k2parnos.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <5651F0C1.5000103@yandex.ru> Date: Sun, 22 Nov 2015 18:43:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <87k2parnos.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/22/2015 06:41 PM, Andreas Matthias wrote: > I hope I don't get lost in this discussion. It's hard to distinguish > between "complete the tag" and "find the tag"... Hopefully, complet-able tags and find-able tags are the same set now, after the latest change. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 11:54:45 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 16:54:45 +0000 Received: from localhost ([127.0.0.1]:48403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0XuX-0004Ol-4G for submit@debbugs.gnu.org; Sun, 22 Nov 2015 11:54:45 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:38829) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0XuW-0004Oe-4i for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 11:54:44 -0500 Received: by wmec201 with SMTP id c201so77673524wme.1 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 08:54:43 -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=BImvxwnsYuZsadh6t7JayLvNKgI5LcPp3JxhWulAFf8=; b=HwBic70blDgS1xADAo6+T9zguFBKkyu7FcpU3tThuhs3fIX2l/D5dyPyvy2JzZDmJd 2vyUyHnRi46rgOzoWvzAzQjuhPjiO1qyudt3GotXxNZpHvgJeGrTv8XCpUe9dVEFnfhZ UtrXkgl/L1PS54iRNhnqFGMs0xCr12Q8su4/a8v1CMyrArip1msutH2Q4SyBbjWWQVBS QUS+PYRHYN1lK6MBG8fGBUCtF4ytyqDPRna/ubHHnvk0e5zvHFVW4koT9/Wobr9CqPDY SCYdyglIs4bySA462xmSAdw0QXLZGK0/EKiFbXJ0kTUzXD5WpDrEGt0nCcRC1UW2EJMh Wubg== X-Received: by 10.28.175.144 with SMTP id y138mr11437863wme.47.1448211283599; Sun, 22 Nov 2015 08:54:43 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id i84sm9305613wmc.20.2015.11.22.08.54.42 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 08:54:42 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Eli Zaretskii References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> <83si3y2et4.fsf@gnu.org> From: Dmitry Gutov Message-ID: <5651F350.6080203@yandex.ru> Date: Sun, 22 Nov 2015 18:54:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <83si3y2et4.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/22/2015 06:12 PM, Eli Zaretskii wrote: > Completion is not an integral part of find-tag. It's not an integral part of xref-find-definitions either. > As I said, completion in M-. in Emacs 25 works worse than in find-tag > in this case: it doesn't even succeed to complete "Rec TAB" into > "Rectangle". I don't know why. I didn't see any difference between them. Anyway, it should be fixed now. >> Is it really any different? M-x find-tag RET TAB doesn't show anything >> beginning with "Rectangle" either. I only get "getPos" as a completion >> either way. > > It's different if you type "Rec TAB". If I revert 51fd4a01395885077909c60b17ae3d7d42b8bb0a and reopen the TAGS file, the only completion I get is "getPos", either way. It *is* different if you type "Rec RET", however, because in the end "Rec" gets a match via `tag-any-match-p', which etags--xref-find-definitions doesn't use. But the user can add it to etags-xref-find-definitions-tag-order, if they want. > My main point is that it's easy to solve the completion case, but that > hardly help in using TAGS with Lua and the new xref commands. > Something else is missing. I believe I've addressed that. And if I understand Andreas right, etags should output two tags for each such definition. Just like we do for C++. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 12:38:39 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 17:38:39 +0000 Received: from localhost ([127.0.0.1]:48440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Yb1-0005hi-BB for submit@debbugs.gnu.org; Sun, 22 Nov 2015 12:38:39 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:38517) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Yah-0005h0-6k for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 12:38:38 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NY8001008V2I100@mtaout25.012.net.il> for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 19:35:38 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NY800GZL8VEWW70@mtaout25.012.net.il>; Sun, 22 Nov 2015 19:35:38 +0200 (IST) Date: Sun, 22 Nov 2015 19:38:10 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <5651F350.6080203@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Gutov Message-id: <83h9ke2av1.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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 22 Nov 2015 18:54:40 +0200 > > if I understand Andreas right, etags should output two tags for each > such definition. Just like we do for C++. If that's the conclusion, I think I can make etags do that for Lua. Should that be done for tokens that include '.' and ':'? 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? From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 12:43:54 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 17:43:54 +0000 Received: from localhost ([127.0.0.1]:48453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Yg5-0005u7-L3 for submit@debbugs.gnu.org; Sun, 22 Nov 2015 12:43:53 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:33599) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Yg3-0005tw-It for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 12:43:52 -0500 Received: by wmec201 with SMTP id c201so132291426wme.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 09:43:51 -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=ybP6AQTsh7IHedjpz2uT2LDZCtWj7ybXeW1ilHHcMUo=; b=a5z3+EVmnyVuSWEr2I9AAI2h+3e2IfQGzD2Uxldruh0cozqjKIayVFPoGX3w1QrhEK JPY/KRYMvFusvneEffH6fYhCUq1XTFZNSqaOELEyy9o0zQtnMiKUEViQll84Sbb5zWTX m4NtMm0jEg/IeFB4Erhd98N0D7N/hHbd61ft1WgmN893fzoKjHL51xHVeAfpBRoy/xOX JbCx/8ueU8Db1727/6qfNI7glad0Lk+JEryqpM7mmUpeh0iP+Y8fA88ok7UUqhl4+IBq Yq70ECvasiWxGAMwljWCen9eeCa2onX05DwJpRFEojSqmah6U2gvVLzNW+fUNBYBIhUi /NAg== X-Received: by 10.194.58.5 with SMTP id m5mr26363697wjq.31.1448214231020; Sun, 22 Nov 2015 09:43:51 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id o65sm189134wmg.3.2015.11.22.09.43.49 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 09:43:50 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Eli Zaretskii 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> From: Dmitry Gutov Message-ID: <5651FED4.8080508@yandex.ru> Date: Sun, 22 Nov 2015 19:43:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <83h9ke2av1.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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". So just the fully qualified tag name, and the local tag name ("baz"). From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 12:49:51 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 17:49:51 +0000 Received: from localhost ([127.0.0.1]:48467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Ylq-00068K-HT for submit@debbugs.gnu.org; Sun, 22 Nov 2015 12:49:50 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:33269) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0YlW-00067f-Hm for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 12:49:49 -0500 Received: by wmec201 with SMTP id c201so132397849wme.0 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 09:49:30 -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=VvPN7hRw69ltrTx+HkGDFb/5eTHWmalnXRCYJeTRWuM=; b=XBVcPGW333Bdu44b5hWdQZNIIzug200GiYlYHPFYHxt3vvCZEBG6mycrSf5OWco6J+ p8289/5WB3H9HFOUkn+znRkbePcS1B557M6U8FIXD/1dfselX3Zu72aLOAMjoimHI65B EhrorlJ5ekSgF0GlrIX2f8t5Mnmpwyh2rxR8e6U14amj2ewxm1iU3tKkSks5VFhrGnLp hPgsdkIaR1YZoQ8ZO6M45gbiRJEUxkwgAo39Wolq2TgKKCQWpgYyw6X+uYnvPm/5SQK/ ZCKrE2Qmp6TWrGx2ZSQotwbiHt33766E/VCzOAQlGb/2etamBpjyy7unE4xOzEPJsLqN ILFA== X-Received: by 10.28.93.70 with SMTP id r67mr14033816wmb.16.1448214569893; Sun, 22 Nov 2015 09:49:29 -0800 (PST) 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 c194sm9430759wmd.13.2015.11.22.09.49.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Nov 2015 09:49:29 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 3E96016E061E; Sun, 22 Nov 2015 18:49:32 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> Date: Sun, 22 Nov 2015 18:49:32 +0100 In-Reply-To: <5651FED4.8080508@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 19:43:48 +0200") Message-ID: <877fl9sz4j.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Eli Zaretskii , 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov wrote: > 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. Yes, both. >> 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 13:10:07 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 18:10:07 +0000 Received: from localhost ([127.0.0.1]:48484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Z5R-0006t6-Q0 for submit@debbugs.gnu.org; Sun, 22 Nov 2015 13:10:06 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:33136) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Z5N-0006sb-SG for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 13:10:03 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NY800600A3KIG00@mtaout25.012.net.il> for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 20:07:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NY800442AC9UD20@mtaout25.012.net.il>; Sun, 22 Nov 2015 20:07:21 +0200 (IST) Date: Sun, 22 Nov 2015 20:09:54 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <5651FED4.8080508@yandex.ru> X-012-Sender: halo1@inter.net.il To: Dmitry Gutov Message-id: <83d1v13nyl.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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > 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.) From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 13:13:59 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 18:13:59 +0000 Received: from localhost ([127.0.0.1]:48488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Z9C-0006zW-TV for submit@debbugs.gnu.org; Sun, 22 Nov 2015 13:13:59 -0500 Received: from mtaout27.012.net.il ([80.179.55.183]:51814) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Z8r-0006yx-Uo for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 13:13:56 -0500 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NY800K009YGWD00@mtaout27.012.net.il> for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 20:08:32 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NY800FETAE3DS60@mtaout27.012.net.il>; Sun, 22 Nov 2015 20:08:32 +0200 (IST) Date: Sun, 22 Nov 2015 20:13:25 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <877fl9sz4j.fsf@winky.hogwarts> X-012-Sender: halo1@inter.net.il To: Andreas Matthias Message-id: <83bnal3nsq.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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > 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? TIA From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 13:27:53 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 18:27:53 +0000 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 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 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) 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) Received: by winky.hogwarts (Postfix, from userid 1000) id 3AAAD16E061E; Sun, 22 Nov 2015 19:27:35 +0100 (CET) From: Andreas Matthias To: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> Date: Sun, 22 Nov 2015 19:27:35 +0100 In-Reply-To: <83d1v13nyl.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Nov 2015 20:09:54 +0200") Message-ID: <8737vxsxd4.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, Dmitry Gutov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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' From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 13:33:33 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 18:33:33 +0000 Received: from localhost ([127.0.0.1]:48499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ZS9-0007XG-8P for submit@debbugs.gnu.org; Sun, 22 Nov 2015 13:33:33 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:34368) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ZS7-0007X8-Bu for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 13:33:31 -0500 Received: by wmvv187 with SMTP id v187so133371400wmv.1 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 10:33:30 -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=HatJjG3TxoInmFU/4VGxENa3Zlot6Ttxm4jBezWYhDI=; b=LrfXhMHgwp36i+99ttgBQztRzS3v4SSiZSBlWAIhtoMKI0Zf/16Lb42uO0OaGRm7El K22j3CEbXIGhiFeEU4b4rRnt3UZ8bAqQmDKkJwmmi5T1Tf0bpRYGKD+mJoPWmz+LDm7W wv4vHk60MLO4XwIUJll1rvQIgg2jVz/JDDRfSZtAWwCr0STGHOEgImTIwVSjby5yKY3h PwaIJuu4uxAdek+3FwlgcqSN6XhmCms+S6/ofENCu+gQ8ZITow8ZOtRz3FVR56+oG+AE PnlT7dEuft9Gorc3hhbsIuD7Zxu8BeylkJ/NZje6X5eJAwC1WOKZNmDn++yqB3P6ROvX RHXw== X-Received: by 10.28.50.70 with SMTP id y67mr15074058wmy.91.1448217210851; Sun, 22 Nov 2015 10:33:30 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id h189sm9708684wme.1.2015.11.22.10.33.29 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Nov 2015 10:33:29 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Andreas Matthias , Eli Zaretskii 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> <8737vxsxd4.fsf@winky.hogwarts> From: Dmitry Gutov Message-ID: <56520A78.4070807@yandex.ru> Date: Sun, 22 Nov 2015 20:33:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <8737vxsxd4.fsf@winky.hogwarts> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/22/2015 08:27 PM, Andreas Matthias wrote: > E.g.: foo:bar.baz > > A class `foo' with a table `bar' containing an element called `baz' So, "foo:bar" is a valid notation, even when it's not a function call, and even when 'bar' is not a function? Is it any different from "foo.bar" then? From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 22 13:53:15 2015 Received: (at 21934) by debbugs.gnu.org; 22 Nov 2015 18:53:15 +0000 Received: from localhost ([127.0.0.1]:48524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0ZlB-00084Z-W5 for submit@debbugs.gnu.org; Sun, 22 Nov 2015 13:53:14 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:36637) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0Zkr-00083h-7F for 21934@debbugs.gnu.org; Sun, 22 Nov 2015 13:53:12 -0500 Received: by wmww144 with SMTP id w144so72708364wmw.1 for <21934@debbugs.gnu.org>; Sun, 22 Nov 2015 10:52:52 -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=IexwIYEVNlkLB5Xq0eHC+2ZMwAnkayNPSfHa+6cMJoc=; b=zwCalTsaLuPKShZmUXL+6vk+Tn4forDDpbjz6ytnQ43Slg0jbXpOi+4En5MCkNBBrh qhFpxc3JB9sVTFpqejnPXNLgASgUmSGY0IUrWalGt24CCyQX34o6lKbhXN+LUhuGtqnV 8Iz859LkonQzF1G3IPGasc5FWETiEPdOFY04Cuw29ZZYR1JrvMHs1Oq2gJZMrgjU8Yvv dd3NxeCJxL2v6wIYPuoteRaHOSxGO1WN/mTL6/qvrh6oy2xY/vt+2IyrXr6cdyPROgDU 6NC/sefi8cirDgh2Hf4V2veUIw+Vo+AavblhRHMKsXIYbfeZgGP8UpXhKlPhhbKRVdJX Mniw== X-Received: by 10.28.224.86 with SMTP id x83mr15405067wmg.36.1448218372558; Sun, 22 Nov 2015 10:52:52 -0800 (PST) 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 a63sm6351429wmc.5.2015.11.22.10.52.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Nov 2015 10:52:52 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id EAD4816E061E; Sun, 22 Nov 2015 19:52:54 +0100 (CET) From: Andreas Matthias To: Dmitry Gutov Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> <8737vxsxd4.fsf@winky.hogwarts> <56520A78.4070807@yandex.ru> Date: Sun, 22 Nov 2015 19:52:54 +0100 In-Reply-To: <56520A78.4070807@yandex.ru> (Dmitry Gutov's message of "Sun, 22 Nov 2015 20:33:28 +0200") Message-ID: <87y4dprhmh.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: Eli Zaretskii , 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov wrote: > On 11/22/2015 08:27 PM, Andreas Matthias wrote: > >> E.g.: foo:bar.baz >> >> A class `foo' with a table `bar' containing an element called `baz' > > So, "foo:bar" is a valid notation, even when it's not a function call, and even > when 'bar' is not a function? Is it any different from "foo.bar" then? You are right, that was nonsense. The : must be the last operator because it inserts the `self' or `this' element into the following function call. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 23 11:50:42 2015 Received: (at 21934) by debbugs.gnu.org; 23 Nov 2015 16:50:42 +0000 Received: from localhost ([127.0.0.1]:49737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uK9-00057V-0d for submit@debbugs.gnu.org; Mon, 23 Nov 2015 11:50:41 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:36968) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uK6-00057N-Pv for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 11:50:39 -0500 Received: by wmww144 with SMTP id w144so112967694wmw.0 for <21934@debbugs.gnu.org>; Mon, 23 Nov 2015 08:50:37 -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=eDrRPmupF0qHw7qny05h5K83yYBhylepPhOkluNnqBw=; b=fgfUmklWIHFL+KMBSLv0gao+CkuEzkvfwXA2OBtZoLDj4s9B5/OzcJUhwrYS0vunQZ JhcccZrMz9wG6yuSMHYEN8TQqklgavWazXm6PaJNnDwflDpIXy9ttF67htTA68vgfeUR R/4V/7NkGLKQcr6hpcSye/7gQq7lHq48rkT2ioGd2zVP4rlTKP+72hzxIn0zs8qjHBim 7KRlhK7hmyZkOtUIwYH/3yo1iLUBQc+HNigQUO7oAsPYVumPYd8bFdFBvPZgG0GH5joM q0cFQqQtZL0FXH7PPPLRWTzpuhAic+NonoLZY1UvVM/7tVnKsZS6xCWRp6NkkuZaoVR4 Bb7w== X-Received: by 10.28.23.136 with SMTP id 130mr18735562wmx.94.1448297437914; Mon, 23 Nov 2015 08:50:37 -0800 (PST) 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 bh6sm3112449wjb.0.2015.11.23.08.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 08:50:36 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 056A316E061E; Mon, 23 Nov 2015 17:50:40 +0100 (CET) From: Andreas Matthias To: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> Date: Mon, 23 Nov 2015 17:50:40 +0100 In-Reply-To: <83bnal3nsq.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Nov 2015 20:13:25 +0200") Message-ID: <87bnakr76n.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 23 12:16:50 2015 Received: (at 21934) by debbugs.gnu.org; 23 Nov 2015 17:16:50 +0000 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 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 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) 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) Date: Mon, 23 Nov 2015 19:16:41 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <87bnakr76n.fsf@winky.hogwarts> X-012-Sender: halo1@inter.net.il To: Andreas Matthias 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> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > 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? From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 23 12:28:14 2015 Received: (at 21934) by debbugs.gnu.org; 23 Nov 2015 17:28:14 +0000 Received: from localhost ([127.0.0.1]:49781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uuT-0006Gc-Tr for submit@debbugs.gnu.org; Mon, 23 Nov 2015 12:28:14 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:35862) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uuR-0006GT-Qu for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 12:28:12 -0500 Received: by wmww144 with SMTP id w144so106154106wmw.1 for <21934@debbugs.gnu.org>; Mon, 23 Nov 2015 09:28:11 -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=oL9AyaQj+F54btAab1PzaSLc8AwwG51usOVd+aEelAM=; b=EiRaoOXOSbKiUkcYorj3G8vUJG6x41LdjKhHYQbYMCjuG1ue87MOBAuNN4tHM+M34V +jJK9xhwRHQ4Sk/q90gVJd8VZYtZSEN4Du1cF7GOwi5lPRv5Y4JD7fTxoeHU4S6KEQxY l/BRCpnAZd+Rfn5XxkEL8Lni/eh2LD1UiRG4b2c8riNN3ocrpapmKoMvy113zDqzuytH H6QCniyWUf9A06IDbLI+9QFpFP5lowc6H1gEv58Dn0El1Hgu2aChOlJFVlC2cg4gjdvs 12cX5I7uh9/pRwFcJUt/erdQYdhwBmMvJs3ycyLK/AE8z491tGgkXtU4wrUrZHk3xuFY cayA== X-Received: by 10.28.64.11 with SMTP id n11mr16896907wma.37.1448299690889; Mon, 23 Nov 2015 09:28:10 -0800 (PST) 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 143sm14321090wmv.18.2015.11.23.09.28.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 09:28:10 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 07CCC16E061E; Mon, 23 Nov 2015 18:28:14 +0100 (CET) From: Andreas Matthias To: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> <8337vw1vra.fsf@gnu.org> Date: Mon, 23 Nov 2015 18:28:14 +0100 In-Reply-To: <8337vw1vra.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 23 Nov 2015 19:16:41 +0200") Message-ID: <877fl8r5g1.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii wrote: >> 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? As Dmitry said. Both the fully qualified tag name and the local tag name. foo.bar.baz.more should be tagged as: foo.bar.baz.more more foo.bar.baz:more should be tagged as: foo.bar.baz:more more From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 23 13:18:06 2015 Received: (at 21934) by debbugs.gnu.org; 23 Nov 2015 18:18:07 +0000 Received: from localhost ([127.0.0.1]:49802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0vgk-0007kz-6t for submit@debbugs.gnu.org; Mon, 23 Nov 2015 13:18:06 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:37726) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0vgO-0007k8-RI for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 13:18:04 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NYA007005BRIW00@mtaout28.012.net.il> for 21934@debbugs.gnu.org; Mon, 23 Nov 2015 20:16:35 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYA007PQ5FNFE00@mtaout28.012.net.il>; Mon, 23 Nov 2015 20:16:35 +0200 (IST) Date: Mon, 23 Nov 2015 20:17:38 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <877fl8r5g1.fsf@winky.hogwarts> X-012-Sender: halo1@inter.net.il To: Andreas Matthias Message-id: <83wpt8zikd.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> <8337vw1vra.fsf@gnu.org> <877fl8r5g1.fsf@winky.hogwarts> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Andreas Matthias > Cc: dgutov@yandex.ru, 21934@debbugs.gnu.org > Date: Mon, 23 Nov 2015 18:28:14 +0100 > > foo.bar.baz.more should be tagged as: > > foo.bar.baz.more > more > > > foo.bar.baz:more should be tagged as: > > foo.bar.baz:more > more Thanks, will do. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 25 21:41:23 2015 Received: (at 21934) by debbugs.gnu.org; 26 Nov 2015 02:41:23 +0000 Received: from localhost ([127.0.0.1]:53320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1mUt-00028V-9F for submit@debbugs.gnu.org; Wed, 25 Nov 2015 21:41:23 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:32987) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a1mUr-00028M-Q4 for 21934@debbugs.gnu.org; Wed, 25 Nov 2015 21:41:22 -0500 Received: by wmec201 with SMTP id c201so11587776wme.0 for <21934@debbugs.gnu.org>; Wed, 25 Nov 2015 18:41:21 -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=46xBvBP6kv8vLBkS7nv+BL3DQQrFRPO79eMtKeRzCr8=; b=sa6j0pLpZOgeHBByoB6PmiRMXyxVzuS0Hd883wxQe3X4BZKHgapYn3UMc8NfNP9TrX ZdzcLAxKWb01hQ3HH2xOi8Fv1I9/fZBhetVjsnuWg6lMcTZA4n+ZcbqzrAMhOt1q9B5O e2RscHnB1o7Esl/19ytYea7RjQP3DF7D9/9F/BkWMvbDLgJVNUgFm58U0EQoJ28LaLrx nlidIQXc4U1P0XcYh1QBHmwgPu9Mh5Ow5X+Mx/45Ayir9oDnxRzZB6gPXiNFmSiTOnUZ 8lShqcmL7VfN4JWy2d3DXMGVzo89KOh+jR05kvIqwt030PpT14JU2/d2L0jZI1z6G2gr 6fEw== X-Received: by 10.28.195.10 with SMTP id t10mr810834wmf.11.1448505681203; Wed, 25 Nov 2015 18:41:21 -0800 (PST) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id 193sm380919wmp.16.2015.11.25.18.41.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Nov 2015 18:41:20 -0800 (PST) Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly To: Eli Zaretskii References: <87ziyd20cb.fsf@winky.hogwarts> <564AA697.9000203@yandex.ru> <83egfj4i2b.fsf@gnu.org> <56511795.2050207@yandex.ru> From: Dmitry Gutov Message-ID: <5656714E.6020003@yandex.ru> Date: Thu, 26 Nov 2015 04:41:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <56511795.2050207@yandex.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934 Cc: andreas.matthias@gmail.com, 21934@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 11/22/2015 03:17 AM, Dmitry Gutov wrote: > But what else, really, could (xref-backend-identifier-at-point 'etags) > return here? It only knows the current buffer's syntax table, and that > its data source is etags. I take that back: even thought it's not widely used, etags has the find-tag-default-function variable/major-mode-property, and starting with 5ffa4e3e3c853ed75e4f4b441e813252112f2d24 xref delegates to it. It's a bit weird (looks at buffer contents before point if point is not at any symbol), but hopefully that won't be much of a problem. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 28 05:34:13 2015 Received: (at 21934) by debbugs.gnu.org; 28 Nov 2015 10:34:13 +0000 Received: from localhost ([127.0.0.1]:57609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2cpY-0000PX-Tk for submit@debbugs.gnu.org; Sat, 28 Nov 2015 05:34:13 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:49993) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2cpE-0000Om-8J for 21934@debbugs.gnu.org; Sat, 28 Nov 2015 05:34:11 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NYI00000T8AEV00@a-mtaout20.012.net.il> for 21934@debbugs.gnu.org; Sat, 28 Nov 2015 12:33:50 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYI00018TCEB630@a-mtaout20.012.net.il>; Sat, 28 Nov 2015 12:33:50 +0200 (IST) Date: Sat, 28 Nov 2015 12:33:40 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <83wpt8zikd.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: andreas.matthias@gmail.com Message-id: <83wpt2pg57.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> <8337vw1vra.fsf@gnu.org> <877fl8r5g1.fsf@winky.hogwarts> <83wpt8zikd.fsf@gnu.org> X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > Date: Mon, 23 Nov 2015 20:17:38 +0200 > From: Eli Zaretskii > Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru > > > From: Andreas Matthias > > Cc: dgutov@yandex.ru, 21934@debbugs.gnu.org > > Date: Mon, 23 Nov 2015 18:28:14 +0100 > > > > foo.bar.baz.more should be tagged as: > > > > foo.bar.baz.more > > more > > > > > > foo.bar.baz:more should be tagged as: > > > > foo.bar.baz:more > > more > > Thanks, will do. Done in commit 690ccf0 on the emacs-25 branch. Please see if the results are satisfactory, and close the bug if so. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 28 12:25:25 2015 Received: (at 21934) by debbugs.gnu.org; 28 Nov 2015 17:25:25 +0000 Received: from localhost ([127.0.0.1]:58343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2jFU-00039E-Ja for submit@debbugs.gnu.org; Sat, 28 Nov 2015 12:25:24 -0500 Received: from mail-wm0-f44.google.com ([74.125.82.44]:37787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2jFR-000395-U0 for 21934@debbugs.gnu.org; Sat, 28 Nov 2015 12:25:22 -0500 Received: by wmww144 with SMTP id w144so90026512wmw.0 for <21934@debbugs.gnu.org>; Sat, 28 Nov 2015 09:25:21 -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=Rfl4jl9zPtdh9s+LcSXQUamweCcrbqOf5ffvwVV/h9w=; b=MfLUA/ygGN1NL76ukP5HTk7zijo7krL+h8Yzo4MRdLsjnsGa/wlTeCIf37iIykuTx1 lNu4m9GjTchqVmukQmeh9XfWg6ie+KFtuWVRa4fmOyG7NOk5VEO4bWIHlhitVqW1FB9r LXPPE1UXFwCUi42yHQrTCVJK4Qa4hFhZMGlfp88UUyn29ijyJq8mznA+zqQYPmZYOIrJ kZqySjIxQXsOrDy6elSCNt0FBU7YHwY3WVspnBTan5HyUMzQbR+Tm6t2wNj/bay+E+fo Z0hnup3Z3Oq0/5xjJhyATTB+SFU5xgjlMi2FKIigUnlA1Ovu2mgub7Xy+Te/UdzbykQD MVIQ== X-Received: by 10.28.148.147 with SMTP id w141mr18643299wmd.14.1448731521323; Sat, 28 Nov 2015 09:25:21 -0800 (PST) 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 dl8sm2952923wjb.29.2015.11.28.09.25.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Nov 2015 09:25:20 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 876FD16E03F7; Sat, 28 Nov 2015 18:25:25 +0100 (CET) From: Andreas Matthias To: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> <8337vw1vra.fsf@gnu.org> <877fl8r5g1.fsf@winky.hogwarts> <83wpt8zikd.fsf@gnu.org> <83wpt2pg57.fsf@gnu.org> Date: Sat, 28 Nov 2015 18:25:25 +0100 In-Reply-To: <83wpt2pg57.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Nov 2015 12:33:40 +0200") Message-ID: <87si3qjat6.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 21934 Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii wrote: >> Date: Mon, 23 Nov 2015 20:17:38 +0200 >> From: Eli Zaretskii >> Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru >> >> > From: Andreas Matthias >> > Cc: dgutov@yandex.ru, 21934@debbugs.gnu.org >> > Date: Mon, 23 Nov 2015 18:28:14 +0100 >> > >> > foo.bar.baz.more should be tagged as: >> > >> > foo.bar.baz.more >> > more >> > >> > >> > foo.bar.baz:more should be tagged as: >> > >> > foo.bar.baz:more >> > more >> >> Thanks, will do. > > Done in commit 690ccf0 on the emacs-25 branch. Please see if the > results are satisfactory, and close the bug if so. > > Thanks. Looks very good to me. Thank you Eli. Andreas From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 28 12:25:55 2015 Received: (at 21934-done) by debbugs.gnu.org; 28 Nov 2015 17:25:55 +0000 Received: from localhost ([127.0.0.1]:58346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2jFz-00039w-14 for submit@debbugs.gnu.org; Sat, 28 Nov 2015 12:25:55 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36986) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a2jFw-00039o-W3 for 21934-done@debbugs.gnu.org; Sat, 28 Nov 2015 12:25:53 -0500 Received: by wmww144 with SMTP id w144so90034867wmw.0 for <21934-done@debbugs.gnu.org>; Sat, 28 Nov 2015 09:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=I0SQ5VqYnx7moPym9Xuti3+KiQpPRSJZtoqqv9GpP5DGjs80z4I2P1cg0lTPKg8ux0 4wQSOMpJwTmaGRmR0AYfQwy4iBFIBaAuWkFiswOhEtJFjwq0Ci6BhQyFrPPW1dli+tBZ mDO8r/0GkoD7sFLYJVovCTC/THNWpVL8nddwNOMvkr6qCbptWQiBIey2DMzlnD1alPUZ OG4dcRmpWaqP4jzhelL26tRrZpBSVkissXUGRgypD9nVjvXnE4+D9K2ur2M0iCMxRojq LgMFI04bOdmLhiFrV3TQYDPCHMhWa+NVuaEmd3H3HA07ul1wADb2FVwvCD+Bh6cZncIh 1jwg== X-Received: by 10.28.7.138 with SMTP id 132mr18766414wmh.100.1448731552465; Sat, 28 Nov 2015 09:25:52 -0800 (PST) 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 jt9sm38613713wjc.24.2015.11.28.09.25.51 for <21934-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Nov 2015 09:25:52 -0800 (PST) Received: by winky.hogwarts (Postfix, from userid 1000) id 30C3916E03F7; Sat, 28 Nov 2015 18:25:59 +0100 (CET) From: Andreas Matthias To: 21934-done@debbugs.gnu.org Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly 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> <8337vw1vra.fsf@gnu.org> <877fl8r5g1.fsf@winky.hogwarts> <83wpt8zikd.fsf@gnu.org> <83wpt2pg57.fsf@gnu.org> Date: Sat, 28 Nov 2015 18:25:59 +0100 In-Reply-To: <83wpt2pg57.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Nov 2015 12:33:40 +0200") Message-ID: <87lh9ijas8.fsf@winky.hogwarts> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21934-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 12:35:47 2015 Received: (at 21934-done) by debbugs.gnu.org; 30 Nov 2015 17:35:47 +0000 Received: from localhost ([127.0.0.1]:33117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3SMd-0006hE-8o for submit@debbugs.gnu.org; Mon, 30 Nov 2015 12:35:47 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:35189) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3SMb-0006h3-Ao for 21934-done@debbugs.gnu.org; Mon, 30 Nov 2015 12:35:46 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NYN00H001YG1700@mtaout28.012.net.il> for 21934-done@debbugs.gnu.org; Mon, 30 Nov 2015 19:33:39 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYN00CW4242C340@mtaout28.012.net.il>; Mon, 30 Nov 2015 19:33:39 +0200 (IST) Date: Mon, 30 Nov 2015 19:34:33 +0200 From: Eli Zaretskii Subject: Re: bug#21934: 24.5; find-tag: reading TAGS file incorrectly In-reply-to: <87si3qjat6.fsf@winky.hogwarts> X-012-Sender: halo1@inter.net.il To: Andreas Matthias Message-id: <83a8pvmlw6.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> <8337vw1vra.fsf@gnu.org> <877fl8r5g1.fsf@winky.hogwarts> <83wpt8zikd.fsf@gnu.org> <83wpt2pg57.fsf@gnu.org> <87si3qjat6.fsf@winky.hogwarts> X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: 21934-done Cc: 21934-done@debbugs.gnu.org, dgutov@yandex.ru X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) > From: Andreas Matthias > Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru > Date: Sat, 28 Nov 2015 18:25:25 +0100 > > Eli Zaretskii wrote: > > >> Date: Mon, 23 Nov 2015 20:17:38 +0200 > >> From: Eli Zaretskii > >> Cc: 21934@debbugs.gnu.org, dgutov@yandex.ru > >> > >> > From: Andreas Matthias > >> > Cc: dgutov@yandex.ru, 21934@debbugs.gnu.org > >> > Date: Mon, 23 Nov 2015 18:28:14 +0100 > >> > > >> > foo.bar.baz.more should be tagged as: > >> > > >> > foo.bar.baz.more > >> > more > >> > > >> > > >> > foo.bar.baz:more should be tagged as: > >> > > >> > foo.bar.baz:more > >> > more > >> > >> Thanks, will do. > > > > Done in commit 690ccf0 on the emacs-25 branch. Please see if the > > results are satisfactory, and close the bug if so. > > > > Thanks. > > Looks very good to me. Thank you Eli. Thanks for testing. I also added these cases to the etags test suite. No further comments, so I'm closing the bug. From unknown Fri Jun 20 20:05:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Dec 2015 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator