GNU bug report logs - #16996
24.3.50; [ruby-mode] Incorrect indentation for implicit hash arguments

Previous Next

Package: emacs;

Reported by: Bozhidar Batsov <bozhidar <at> batsov.com>

Date: Wed, 12 Mar 2014 10:55:02 UTC

Severity: minor

Found in version 24.3.50

Full log


Message #8 received at 16996 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Bozhidar Batsov <bozhidar <at> batsov.com>
Cc: 16996 <at> debbugs.gnu.org
Subject: Re: bug#16996: 24.3.50;
 [ruby-mode] Incorrect indentation for implicit hash arguments
Date: Wed, 12 Mar 2014 17:18:01 +0200
Bozhidar Batsov <bozhidar <at> 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?




This bug report was last modified 3 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.