From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#22947: 25.0.92; xref-find-definitions fails for Perl & etags Date: Fri, 11 Mar 2016 14:46:25 +0200 Message-ID: References: <22239.6546.544495.576771@gargle.gargle.HOWL> <88256367-3f1d-6dda-a509-d89e3c8e6c28@yandex.ru> <22239.36324.478948.721025@gargle.gargle.HOWL> <83y49qlbam.fsf@gnu.org> <272376b7-ad78-a16d-ceeb-d7408fb59fdb@yandex.ru> <83oaaml57e.fsf@gnu.org> <2823a513-de6a-2c99-fc06-825efb1f0be0@yandex.ru> <83io0ul2vb.fsf@gnu.org> <2c9b9fe9-4df0-1ba2-123d-ab4743bf49ca@yandex.ru> <83ziu5jv92.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1457700446 31974 80.91.229.3 (11 Mar 2016 12:47:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2016 12:47:26 +0000 (UTC) Cc: 22947@debbugs.gnu.org, rogers@modulargenetics.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 11 13:47:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aeMTI-0006T0-18 for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Mar 2016 13:47:12 +0100 Original-Received: from localhost ([::1]:54567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeMTH-0007Co-3d for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Mar 2016 07:47:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeMTC-0007CZ-VP for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2016 07:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aeMT8-0004DR-Py for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2016 07:47:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aeMT8-0004DJ-Ll for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2016 07:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aeMT8-0002Vl-GQ for bug-gnu-emacs@gnu.org; Fri, 11 Mar 2016 07:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Mar 2016 12:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22947 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22947-submit@debbugs.gnu.org id=B22947.14577003949619 (code B ref 22947); Fri, 11 Mar 2016 12:47:02 +0000 Original-Received: (at 22947) by debbugs.gnu.org; 11 Mar 2016 12:46:34 +0000 Original-Received: from localhost ([127.0.0.1]:44372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aeMSg-0002V5-Lw for submit@debbugs.gnu.org; Fri, 11 Mar 2016 07:46:34 -0500 Original-Received: from mail-wm0-f43.google.com ([74.125.82.43]:35545) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aeMSe-0002Us-EC for 22947@debbugs.gnu.org; Fri, 11 Mar 2016 07:46:32 -0500 Original-Received: by mail-wm0-f43.google.com with SMTP id l68so17167229wml.0 for <22947@debbugs.gnu.org>; Fri, 11 Mar 2016 04:46:32 -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-transfer-encoding; bh=Bal5QcgKblPyHkU32U115XJNuXP+IBNHc2O2GSli514=; b=TPhgjDPXY+3Q7hxCMZzw7Q4AvDeN0ncH/npQa6UtUtxAHRmQmNUTrtfAGOQCA0nA3G yxOZdTkTgrDZNtKni9rPyYGLsTTtLoBMLeFSq139+iRuVy5jHdrKKyjWNdEbgyCCoJ/Y 2EV5lTj+51Wb4X3mt8yMvmgk0/3YpksGValP1zK1w7AsJioFV2Vg7J2LYci/6iCiYdLe IwppbOgNeq0DicRvaau1PKw7Q1H9Em6Po0TMnVGprA1NqThIyC+CofCMVDhzXekQUtu/ HHktm47CJleVukv3NW8OlJTmiNCHZohF2ShCojoqf0l0umqOMh4OR2XUPddvc012phWX ixXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Bal5QcgKblPyHkU32U115XJNuXP+IBNHc2O2GSli514=; b=TRw3CXh/LqR08mfyacqW0EizIeWqBg8wTpBvhJMcCM4/E1uH+/IxTbllXD56iPift0 lX74fosTCqlqlWJDwOQxIJ35Yu8TTEGCnQD5u9i+PawcFrLYnfhRJ0zu+db3PRk4+Knz DhI77u+rKXcwoHd0NdBbRigK2sXABiH5pkyCeYswWY02+KkoFqvViNwxfmdCdrFvaLiV QKWZqa1au3s4XMwDyHnbd0L5p1/hyLf6Y40VOxfi46g64nCaFCVuCPj8dMG23pzWmHyY YQecfrj+5TwZFxOnvYohzp5aHCrNfkjCCVp6NhGmKKkUIWKsJVgTEwgfRsDAlddv2QhI Fcbw== X-Gm-Message-State: AD7BkJKTu8RfFv1F3t44xrUvm7YLhThG4sBKxxkiSdXrVHQMNo8CJG8dBkSOQMJ0l6/WWw== X-Received: by 10.194.123.131 with SMTP id ma3mr9525864wjb.107.1457700386750; Fri, 11 Mar 2016 04:46:26 -0800 (PST) Original-Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id e4sm2163193wma.10.2016.03.11.04.46.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 04:46:26 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: <83ziu5jv92.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114747 Archived-At: On 03/11/2016 10:04 AM, Eli Zaretskii wrote: > Etags never had these features, so you are asking for enhancements. I > suggest to file a separate wishlist bug report with these requests, > and maybe Someone will implement them at some point. There's nothing to implement in Emacs, both of these scenarios should work already. They just need the presence of qualified names in the tags table. And allowing the output of qualified+unqualified, in etags, doesn't seem like a huge job to me. > Note that adding such a feature would mean extending the generation of > class-qualified names to all the languages which have a notion of a > class or a package, so it's not a small job, and requires to have a > good understanding of many languages. We can perfectly well choose to support this feature only for a few languages. It's better than nothing. Here's the relevant excerpt from ctags's manpage: """ q Include an extra class-qualified tag entry for each tag which is a member of a class (for languages for which this information is extracted; currently C++, Eiffel, and Java). The actual form of the qualified tag depends upon the language from which the tag was derived (using a form that is most natural for how qualified calls are specified in the language). For C++, it is in the form "class::member"; for Eiffel and Java, it is in the form "class.member". This may allow easier location of a specific tags when multiple occurrences of a tag name occur in the tag file. Note, however, that this could potentially more than double the size of the tag file. """ > Personally, I'd like first to see if the current implementation of > etags + xref gives good results, before considering enhancements. > Without seeing user responses, we will never know how important these > features are. Ultimately, it's your choice, of course.