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: Thu, 4 Feb 2016 11:24:52 +0300 Message-ID: <56B30AD4.50501@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> <56AD33CF.6060105@yandex.ru> <83h9hu4dy8.fsf@gnu.org> <56AD9EF3.3080104@yandex.ru> <83powh1uwh.fsf@gnu.org> <56AF1A0E.7080802@yandex.ru> <8360y7yo3y.fsf@gnu.org> <56B10AA7.5000103@yandex.ru> <83bn7xyd43.fsf@gnu.org> <56B28B91.4010706@yandex.ru> <834mdpxhqr.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 1454574326 18013 80.91.229.3 (4 Feb 2016 08:25:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 08:25:26 +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 Thu Feb 04 09:25:15 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 1aRFE2-0000nJ-R8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 09:25:15 +0100 Original-Received: from localhost ([::1]:40206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRFE1-0004pk-K8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Feb 2016 03:25:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRFDv-0004kv-6R for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 03:25:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRFDq-0005Ks-HF for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 03:25:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRFDq-0005Ko-DP for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 03:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aRFDq-0005Jq-6x for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2016 03:25: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: Thu, 04 Feb 2016 08:25:02 +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.145457430020433 (code B ref 22241); Thu, 04 Feb 2016 08:25:02 +0000 Original-Received: (at 22241) by debbugs.gnu.org; 4 Feb 2016 08:25:00 +0000 Original-Received: from localhost ([127.0.0.1]:58894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRFDo-0005JV-Li for submit@debbugs.gnu.org; Thu, 04 Feb 2016 03:25:00 -0500 Original-Received: from mail-lf0-f42.google.com ([209.85.215.42]:34181) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aRFDo-0005JK-1e for 22241@debbugs.gnu.org; Thu, 04 Feb 2016 03:25:00 -0500 Original-Received: by mail-lf0-f42.google.com with SMTP id j78so30997026lfb.1 for <22241@debbugs.gnu.org>; Thu, 04 Feb 2016 00:24:59 -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=LGwr/dYmc1t7FxepMhYuDXJpO+J8pGHroeObj8nbbXw=; b=dW996Ngk4Bg+DGLjDOPE5DQjUn8siqdC7IOaptMmwjM5S+VvbpVSygTvkXfpRby/R+ 1r6vMHZftUL2uo7ZCjBudQ0XMu7W7/C4GWtUJmdHi7aOYe2D/7ToV/q7kkxt6lrP5Idh j6rKFiNXnGKVsSt+nLYi2f7AbABwlEI01VdVTSL3H52kdxs2tlzdaI81MUtIHizVzi9u Csb4IvDbKQyevsZi27HayZpzyQ2HLsmUUJE7rsOTDp8hbckkQ88/71hc4wIKb56SXLY0 r669YDhulgSd0chNbnO9vRBXT0rhDj6zGNSz9KeePRpuLmbZqUgka+BUuXiFR2u7AuxY Gd4w== 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=LGwr/dYmc1t7FxepMhYuDXJpO+J8pGHroeObj8nbbXw=; b=gS6pB72tVWhgb/5HqSmc8PftisV5ci0aaovp78dYT52EMybd7MLjmho30MSsmutXjL 2jv+bE/dO4KDyaKCUUsvumCpxRa4ugBWjnu7pNWrb4zi4VfKsejgPwz9+OG/4Jr02FVX 04v9N/O0jnuj9CJFqQO0YV04mz2e2mfBjBh2I+SPi0x5KRS0qi1n01yPm7gRYUxxMtD4 hLGLfKlNH8kFWbsiGlq8kwqVajDQeUtS3iyBkMDFh5YuNEiH8aipW4v/Q7KLtzVhVzYc RxD4wbM78kro3VlG6qotRBp/if7fv2hUNpqfpb/6GN8Jy05QFd6MJCQTmJfbLqG4zvMg V8EA== X-Gm-Message-State: AG10YOR+NG+4J9hexYEklz0bW7kwJEGbw3BVLXvjfWg1JEx1VNsgvz1UuYjZpsPxg3lE2g== X-Received: by 10.25.42.18 with SMTP id q18mr2886697lfq.151.1454574294111; Thu, 04 Feb 2016 00:24:54 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id j130sm1354027lfe.23.2016.02.04.00.24.52 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 00:24:52 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <834mdpxhqr.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:112399 Archived-At: On 02/04/2016 06:43 AM, Eli Zaretskii wrote: >> IOW, skip the arguments that are not Ruby Symbols (don't start with a >> colon). The current implementation treats them the same. > > Yes, because etags is not supposed to do sensible things with > syntactically incorrect programs. This is syntactically correct: class C [:foo, :bar].each do |name| attr_reader name end end > I'm not sure I understand the rules, though: is the "no colon, don't > tag" rule valid for any symbol following the attr_WHATEVER, or is that > applicable only to the 2nd, 3rd, etc. symbols? Any of the arguments. > IOW, what, if > anything, should be tagged here: > > attr_reader foo Just skip it as well.