From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22241: 25.0.50; etags Ruby parser problems Date: Sun, 31 Jan 2016 20:11:26 +0200 Message-ID: <83powh1uwh.fsf@gnu.org> References: <86r3i9hnbt.fsf@yandex.ru> <83si1o45g1.fsf@gnu.org> <56A3C53D.1050408@yandex.ru> <83oacc3yx7.fsf@gnu.org> <56A3D47E.3030802@yandex.ru> <83mvrw3tuj.fsf@gnu.org> <56A3F3F9.8030404@yandex.ru> <8360yj3rtf.fsf@gnu.org> <83k2mrw952.fsf@gnu.org> <56AD33CF.6060105@yandex.ru> <83h9hu4dy8.fsf@gnu.org> <56AD9EF3.3080104@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454264005 31026 80.91.229.3 (31 Jan 2016 18:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Jan 2016 18:13:25 +0000 (UTC) Cc: 22241@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 31 19:13:11 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 1aPwUp-0007r6-7c for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Jan 2016 19:13:11 +0100 Original-Received: from localhost ([::1]:42695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPwUo-0001Yj-AO for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Jan 2016 13:13:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPwUk-0001Ye-Mb for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 13:13:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPwUf-0005lw-Ta for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 13:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPwUf-0005ls-Q3 for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 13:13:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aPwUf-0000hY-KD for bug-gnu-emacs@gnu.org; Sun, 31 Jan 2016 13:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Jan 2016 18:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22241-submit@debbugs.gnu.org id=B22241.14542639242622 (code B ref 22241); Sun, 31 Jan 2016 18:13:01 +0000 Original-Received: (at 22241) by debbugs.gnu.org; 31 Jan 2016 18:12:04 +0000 Original-Received: from localhost ([127.0.0.1]:43417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPwTk-0000gE-Bn for submit@debbugs.gnu.org; Sun, 31 Jan 2016 13:12:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45258) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPwTi-0000fk-KU for 22241@debbugs.gnu.org; Sun, 31 Jan 2016 13:12:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPwTY-0005Nj-Gc for 22241@debbugs.gnu.org; Sun, 31 Jan 2016 13:11:57 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPwTY-0005Nd-D2; Sun, 31 Jan 2016 13:11:52 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4168 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aPwTX-0005XC-M8; Sun, 31 Jan 2016 13:11:52 -0500 In-reply-to: <56AD9EF3.3080104@yandex.ru> (message from Dmitry Gutov on Sun, 31 Jan 2016 08:43:15 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:112152 Archived-At: > Cc: 22241@debbugs.gnu.org > From: Dmitry Gutov > Date: Sun, 31 Jan 2016 08:43:15 +0300 > > On 01/31/2016 06:37 AM, Eli Zaretskii wrote: > > > Right, that part is not implemented. Perhaps later. Is it terribly > > important? > > Exuberant Ctags doesn't do it. I suppose it's rather a missing feature > than a bug. > > It's fine if it's not in 25.1, but let's keep the bug open until it's > implemented. Ah, so it _is_ important. But then I'd need a complete specification of what is needed. (And I already smell a tip of an iceberg.) Again, the references are scarce and incomplete, but I already understand that it could be either of the following attr_WHATEVER :foo SOMETHING ; attr_WHATEVER :foo ; ... attr_WHATEVER :foo, :bar; ... Is that true? Are there any other forms, or can the symbol be followed only by a comma, a semi-colon, or whitespece? And what ends a line like that -- a newline, or can it be continued on the next line? > >> Third, this is tangential, but I don't think anybody uses the .ruby > >> extension for Ruby files (you can see it's not in auto-mode-alist). But > >> maybe someone somewhere will use it for something else, and etags will > >> erroneously parse that file as Ruby? > > > > I found that on the Internet, I can try to find that again. > > Please do. Couldn't find it. And it isn't important enough to argue, just tell which file-name extensions to consider Ruby and I will do it.