Subject: bug#15594: closed (Re: bug#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 14 Oct 2013 18:58:05 +0000

Your bug report

#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
15594: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15594
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken
From: Stefan Monnier <[email-masked]>
To: Bozhidar Batsov <[email-masked]>
Cc: [email-masked]
Date: Sat, 12 Oct 2013 16:41:26 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

>> > In Ruby one can invoke methods with or without parentheses:
>> > some_method(arg1, arg2)
>> > some_method arg1, arg2

I just added some support for it, thank you,

        Stefan

Subject: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken
From: Bozhidar Batsov <[email-masked]>
To: [email-masked]
Date: Sat, 12 Oct 2013 09:24:49 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

In Ruby one can invoke methods with or without parentheses:

some_method(arg1, arg2)
some_method arg1, arg2

ruby-mode currently does not handle properly the indentation of calls without parentheses that span several lines:

# indented properly in 24.3
some_method(arg1,
                     arg2)

# not indented at all in 24.3
some_method arg1,
arg2

Ideally the second code example would be indented by ruby-mode like this:

some_method arg1,
                     arg2

-- 
Cheers,
Bozhidar