From: Dmitry Gutov <dgutov@yandex.ru>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] trunk r114556: * test/indent/ruby.rb: Fix a spurious change, add more failing examples.
Date: Wed, 09 Oct 2013 16:40:56 +0300 [thread overview]
Message-ID: <52555CE8.7050703@yandex.ru> (raw)
In-Reply-To: <jwvli22zk73.fsf-monnier+emacsdiffs@gnu.org>
On 09.10.2013 15:47, Stefan Monnier wrote:
>> 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.
> or is not at the end of the line.
I found an example where it makes a difference, but it looks too weird:
it do foo {
}
end
Never seen Ruby code written this way. I'm going to simplify that case,
then, as long as you don't mind.
next prev parent reply other threads:[~2013-10-09 13:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1VTAqX-0005m7-J3@vcs.savannah.gnu.org>
2013-10-07 16:55 ` [Emacs-diffs] trunk r114556: * test/indent/ruby.rb: Fix a spurious change, add more failing examples Stefan Monnier
2013-10-07 23:05 ` Dmitry Gutov
2013-10-08 3:37 ` Stefan Monnier
2013-10-09 3:27 ` Dmitry Gutov
2013-10-09 12:47 ` Stefan Monnier
2013-10-09 13:40 ` Dmitry Gutov [this message]
2013-10-09 18:24 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52555CE8.7050703@yandex.ru \
--to=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.