emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r114556: * test/indent/ruby.rb: Fix a spurious c


From: Stefan Monnier
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>>> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]