From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r114556: * test/indent/ruby.rb: Fix a spurious change, add more failing examples. Date: Wed, 09 Oct 2013 14:24:09 -0400 Message-ID: References: <87y564hecg.fsf@yandex.ru> <5254CD19.4060301@yandex.ru> <52555CE8.7050703@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381343067 14797 80.91.229.3 (9 Oct 2013 18:24:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2013 18:24:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 20:24:30 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VTyQv-0003ue-U2 for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2013 20:24:30 +0200 Original-Received: from localhost ([::1]:43254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyQv-0002ky-Eu for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2013 14:24:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyQl-0002bx-5i for emacs-devel@gnu.org; Wed, 09 Oct 2013 14:24:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VTyQc-0007KF-VA for emacs-devel@gnu.org; Wed, 09 Oct 2013 14:24:19 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:47335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VTyQc-0007K3-Rd for emacs-devel@gnu.org; Wed, 09 Oct 2013 14:24:10 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r99IOAhX022577; Wed, 9 Oct 2013 14:24:10 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id DE37DB4149; Wed, 9 Oct 2013 14:24:09 -0400 (EDT) In-Reply-To: <52555CE8.7050703@yandex.ru> (Dmitry Gutov's message of "Wed, 09 Oct 2013 16:40:56 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4726=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4726> : inlines <135> : streams <1053048> : uri <1560455> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164045 Archived-At: >>> If I remove the `when' and just leave (smie-rule-parent), none of the >>> indentation examples break, AFAICS. >> IIRC it's for the case where the "do" is at the beginning of the line > That would be a syntax error. Not if the previous lines ends with \ if I understand correctly. > Never seen Ruby code written this way. I'm going to simplify that case, > then, as long as you don't mind. Be my guest. I never wrote a single line of Ruby and have not seen much more Ruby code than what's in the ruby.rb file, so don't follow my lead. Stefan