From: Dmitry Gutov <dgutov@yandex.ru>
To: Bozhidar Batsov <bozhidar@batsov.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel <emacs-devel@gnu.org>
Subject: Re: ruby-mide, SMIE and token priority
Date: Mon, 11 Nov 2013 19:19:13 +0200 [thread overview]
Message-ID: <52811191.3040802@yandex.ru> (raw)
In-Reply-To: <CAM9Zgm3D0CQt-4wn37JR4Fdspfqn=tBexg_OWqPqfRpF_hjxuw@mail.gmail.com>
On 11.11.2013 17:13, Bozhidar Batsov wrote:
> At first glance everything looks good to me. I was extremely happy to
> see you've fixed the indentation for:
>
> if foo &&
> bar
> end
>
> The old (incorrect) behaviour was quite an annoyance for many Ruby
> programmers.
I'm glad you like it.
Lining up foo and bar makes sense from the syntax standpoint, so SMIE
more or less does that by default, but I was afraid it would hurt
readability: this way, "bar" is indented only 1 column more than the
block body, so it could be mistaken for the first statement more easily.
prev parent reply other threads:[~2013-11-11 17:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 3:18 ruby-mide, SMIE and token priority Dmitry Gutov
2013-11-07 4:30 ` Stefan Monnier
2013-11-07 13:10 ` Dmitry Gutov
2013-11-07 16:02 ` Stefan Monnier
2013-11-11 9:14 ` Bozhidar Batsov
2013-11-11 12:56 ` Dmitry Gutov
2013-11-11 15:13 ` Bozhidar Batsov
2013-11-11 17:19 ` Dmitry Gutov [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=52811191.3040802@yandex.ru \
--to=dgutov@yandex.ru \
--cc=bozhidar@batsov.com \
--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 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).