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#22241: 25.0.50; etags Ruby parser problems Date: Sun, 31 Jan 2016 01:06:07 +0300 Message-ID: <56AD33CF.6060105@yandex.ru> 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> 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 1454191654 10744 80.91.229.3 (30 Jan 2016 22:07:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2016 22:07:34 +0000 (UTC) Cc: 22241@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 30 23:07:22 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 1aPdfh-0007Jq-9y for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jan 2016 23:07:09 +0100 Original-Received: from localhost ([::1]:39836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPdfg-0008SK-KO for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jan 2016 17:07:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPdfd-0008SE-JR for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2016 17:07:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPdfa-0007U7-Ch for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2016 17:07:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPdfa-0007Tw-9P for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2016 17:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aPdfZ-0007i5-W0 for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2016 17:07: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: Sat, 30 Jan 2016 22:07: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.145419157629577 (code B ref 22241); Sat, 30 Jan 2016 22:07:01 +0000 Original-Received: (at 22241) by debbugs.gnu.org; 30 Jan 2016 22:06:16 +0000 Original-Received: from localhost ([127.0.0.1]:42334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPdeq-0007gz-KZ for submit@debbugs.gnu.org; Sat, 30 Jan 2016 17:06:16 -0500 Original-Received: from mail-lf0-f54.google.com ([209.85.215.54]:32872) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aPdep-0007gm-0Z for 22241@debbugs.gnu.org; Sat, 30 Jan 2016 17:06:15 -0500 Original-Received: by mail-lf0-f54.google.com with SMTP id m1so809455lfg.0 for <22241@debbugs.gnu.org>; Sat, 30 Jan 2016 14:06:14 -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=obIX6HDLLO3eUHqs7zkMRrN+Z3RlfNCidTYVhOQg63Y=; b=OEFeHccQODELCKnplzM7SpSVADdlp95yBz0UNDzweZzAYgdJ4BHhcPqG64XTaPz1tY 0Rke10kx2IK4j89Pl6LM9DY95Dcja1SI+qbbAi8xg4nabCPAsbte69Zj5pAo41t5niKe CG/wum28fAaVmIfutBFAzdyUYgDIoe5XMYC7ry9A0q+QQvzahuCq4cMWQzr/eE4/Y62l 1xUWv3gr54vUkURLxJ2S2y+ObZo/kVNXe57l+yS97EDNjKJurdl/YJaiv9WQbXGECOwS nFWyyX6L2eB13yelhNfiNgXGaBdIREcbyhscAr4YkKZZGAyiZQ+6gNRXu3Z+LMkToMQ/ 6+3g== 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-type :content-transfer-encoding; bh=obIX6HDLLO3eUHqs7zkMRrN+Z3RlfNCidTYVhOQg63Y=; b=XpvzIEAzONs3tbqlIHTE5O16R+ANexvVW1J/cRNDvaV7zq7JF+KxuK7PopfqCLzWhK WoXthOUq/IUpR7YMTypyx5ZcUI8OmtRbnTKwUHRHXFLHS12Wfc3Vti3QxnVkX3OMdilZ +qyMYSgb3B4Y3QVcXG3V7ZSMDijvfjylFCzPDwDeiJTm/pRFrmxNLwzkCA8CJa1M5UAb 64Id4AwNBoQjF7640/I9Sd3rK3FMbSZhZID8I6sis9F6tZ8H/HnCluqRhbojL/5NLzFH 1CWzEjYSJAsQRhHTF6Ct4C3QbfQ2WdZKqqzdPs45ZtCiGqc4MerRFLCk2EBSp2xWl1ED ZaXg== X-Gm-Message-State: AG10YOR3iVShg1zEm1Crsg8SphATR9AjOy9urwjwSJ1IKtIui+UkSorYEEoDkQVgmns71A== X-Received: by 10.25.15.226 with SMTP id 95mr6106945lfp.85.1454191569236; Sat, 30 Jan 2016 14:06:09 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id h75sm2896931lfi.2.2016.01.30.14.06.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 30 Jan 2016 14:06:08 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <83k2mrw952.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:112110 Archived-At: On 01/30/2016 03:21 PM, Eli Zaretskii wrote: > Please take a look at the results of commit 25b79d7 on the emacs-25 > branch. I think I implemented everything except the optional name > qualification. I hope the results are good enough. If you agree, > please close the bug. > > Of course, if there are still bugs, or the implementation doesn't > catch some use cases, please show them. Thank you. First, it doesn't seem like it handles attr_reader, attr_writter, attr_accessor and method_alias, like I asked at the end of the bug report. That line of discussion was somehow dropped. Second: a minor thing. If I remove the space after '=', 'ABC =4' doesn't get recorded. 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? On the other hand, you might want to add *.ru, *.rbw, Rakefile and Thorfile to the list of Ruby file names. I'll be sure to let you know if I notice something else.