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: Mon, 1 Feb 2016 11:40:46 +0300 Message-ID: <56AF1A0E.7080802@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> 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 1454316087 25142 80.91.229.3 (1 Feb 2016 08:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2016 08:41:27 +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 Mon Feb 01 09:41: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 1aQA2q-0007v6-DC for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Feb 2016 09:41:12 +0100 Original-Received: from localhost ([::1]:45215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQA2p-0004mk-Th for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Feb 2016 03:41:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQA2k-0004ip-Tz for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 03:41:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQA2g-00050G-NB for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 03:41:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQA2g-00050B-Jd for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 03:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aQA2g-0007I7-Cs for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2016 03:41: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: Mon, 01 Feb 2016 08:41: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.145431605527994 (code B ref 22241); Mon, 01 Feb 2016 08:41:02 +0000 Original-Received: (at 22241) by debbugs.gnu.org; 1 Feb 2016 08:40:55 +0000 Original-Received: from localhost ([127.0.0.1]:43862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQA2Z-0007HS-3X for submit@debbugs.gnu.org; Mon, 01 Feb 2016 03:40:55 -0500 Original-Received: from mail-lf0-f43.google.com ([209.85.215.43]:33718) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aQA2X-0007HB-Bo for 22241@debbugs.gnu.org; Mon, 01 Feb 2016 03:40:53 -0500 Original-Received: by mail-lf0-f43.google.com with SMTP id m1so16052619lfg.0 for <22241@debbugs.gnu.org>; Mon, 01 Feb 2016 00:40:53 -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=SWguTvZARl3hoLlDnO2VyUNppcJFVtJGr5nC+nIoeaw=; b=ROt/DA2oSrs22YU+kOcD8cbRUFoTL7Ip9Ru3R2UE2q31mOkm5IglbYTRTwQLWOUhzs ijBgxrFNd8VXHbX7YOLIHtNQbgyI+QNUeQW2x9WjVIvWJBxWYk9z/IjuR0uVJWJGgeqi Rh7sp1rmVO6kXDPjUkBuhqsYYyF5W/+Sv7RxovhMWt9pOZ4pB110iPANfJigcNP4Ei4k ShaS3Nl9lytJi5Lu5aPtKQtAnVKqxS8LN72rrrxAgM5Ih/ASKYJI3DmCID1aMkCv8jEg AYwzVMtPXwDXyarADd9mH/4R7SImnl7697sTDnXsGTXvIWWWpanpDKLWBllN4GnOQH5v bMPw== 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=SWguTvZARl3hoLlDnO2VyUNppcJFVtJGr5nC+nIoeaw=; b=FtOneB479nmq1TOgKqVOCmWWvsSQd6jZIM1WqXvojZtAGiXljBO6uo6uKf2SSNhR0K +G5vqnnLuKAU0Gq+CB5eU3GH6XElEC4XJPmRhD5BIMAdW8G9tfO+F1jCG0i0KZrPLerv M2JBHF1JkKmkpBgaNXFO4CVpedOEysgpZ1//tQWAc6QWmBUfaZMgSAOMgmuZUPqC82ZG SCfDNJHD37Q8AwOMNfdBxpShxbLwnXtpkveKyL4nXiQkBDbxqzLQ5vYhvyPLIZt1hZ1O s6ED3uz2oQTCnvQohrIicrD/WlVFEKcNVe9OmIpG8n20A/Q0KiPCMHwBtxgC6Y0n1p+j Vd4A== X-Gm-Message-State: AG10YOTlaDduWKNfQ0jtKGXL7dxUFW8+XsbCy+a3olEMm3HYSY1GGigcEOqswwb1s1mJzw== X-Received: by 10.25.84.7 with SMTP id i7mr6227699lfb.44.1454316047567; Mon, 01 Feb 2016 00:40:47 -0800 (PST) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id tv1sm3880625lbb.4.2016.02.01.00.40.46 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 01 Feb 2016 00:40:46 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 In-Reply-To: <83powh1uwh.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:112189 Archived-At: On 01/31/2016 09:11 PM, Eli Zaretskii wrote: > Ah, so it _is_ important. It kind of is. But I can open a separate bug for it, if you want. > 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? The newline might also be preceded by a comment, I suppose. But really, if recognizing attr_WHATEVER when it's just one of the instructions on a line presents a noticeable difficulty, you can disregard that case: nobody really does that in practice. Or we can disregard it at least until somebody complains. So you would handle attr_WHATEVER :foo, :bar # comment and probably attr_WHATEVER :bar; (the semicolon is redundant, but hey, it shouldn't be too hard to support) and the most difficult realistic case I can imagine looks like this: attr_WHATEVER :foo, :bar, # comment :qux, :tee > And what ends > a line like that -- a newline, or can it be continued on the next > line? If there's a comma at the end of the current line, the argument list continues on the next one. > 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. Let's go with my original suggestions, then: .rb .ru .rbw Rakefile Thorfile Thanks!