unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Bozhidar Batsov <bozhidar@batsov.com>
Cc: 16996@debbugs.gnu.org
Subject: bug#16996: 24.3.50; [ruby-mode] Incorrect indentation for implicit hash arguments
Date: Wed, 12 Mar 2014 17:18:01 +0200	[thread overview]
Message-ID: <87eh278mza.fsf@yandex.ru> (raw)
In-Reply-To: <0CEC46C2A06B4B8DB6502F39A05D5E45@gmail.com> (Bozhidar Batsov's message of "Wed, 12 Mar 2014 12:53:57 +0200")

Bozhidar Batsov <bozhidar@batsov.com> writes:

> top(1, :a => 1,
>     :b => 2)
>
> top(1, :a => 1,
>        :b => 2)

This looks like something that would be pretty gnarly to implement. I'm
not sure if we want to. Here's another example:

top(1, {
      :a => 1,
      :b => 2
    })

If we remove the braces, would you still indent :a and :b like if the
braces were present?





  reply	other threads:[~2014-03-12 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 10:53 bug#16996: 24.3.50; [ruby-mode] Incorrect indentation for implicit hash arguments Bozhidar Batsov
2014-03-12 15:18 ` Dmitry Gutov [this message]
2021-05-29  8:55   ` Lars Ingebrigtsen
2021-05-29 18:25     ` Dmitry Gutov
     [not found]       ` <CAM9Zgm0yd=scT4oEG38dNx6JeaogZ2Ge8VDhO8M3rrjYgoU8-w@mail.gmail.com>
2021-07-18  1:05         ` Dmitry Gutov

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=87eh278mza.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=16996@debbugs.gnu.org \
    --cc=bozhidar@batsov.com \
    /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).