emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15594: closed (24.3; Indentation of method argumen


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15594: closed (24.3; Indentation of method arguments without parentheses in ruby-mode is broken)
Date: Mon, 14 Oct 2013 18:58:04 +0000

Your message dated Sat, 12 Oct 2013 16:41:26 -0400
with message-id <address@hidden>
and subject line Re: bug#15594: 24.3; Indentation of method arguments without 
parentheses in ruby-mode is broken
has caused the debbugs.gnu.org bug report #15594,
regarding 24.3; Indentation of method arguments without parentheses in 
ruby-mode is broken
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15594: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15594
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken Date: Sat, 12 Oct 2013 09:24:49 +0300
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


--- End Message ---
--- Begin Message --- Subject: Re: bug#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken Date: Sat, 12 Oct 2013 16:41:26 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
>> > 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]