From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Gutov <dgutov@yandex.ru>
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 14:24:09 -0400 [thread overview]
Message-ID: <jwv1u3uuwxv.fsf-monnier+emacsdiffs@gnu.org> (raw)
In-Reply-To: <52555CE8.7050703@yandex.ru> (Dmitry Gutov's message of "Wed, 09 Oct 2013 16:40:56 +0300")
>>> 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
prev parent reply other threads:[~2013-10-09 18:24 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
2013-10-09 18:24 ` Stefan Monnier [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv1u3uuwxv.fsf-monnier+emacsdiffs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).