all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken
@ 2013-10-12  6:24 Bozhidar Batsov
  2013-10-12 14:37 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Bozhidar Batsov @ 2013-10-12  6:24 UTC (permalink / raw)
  To: 15594

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 1618 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-12 20:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-12  6:24 bug#15594: 24.3; Indentation of method arguments without parentheses in ruby-mode is broken Bozhidar Batsov
2013-10-12 14:37 ` Stefan Monnier
2013-10-12 14:44   ` Bozhidar Batsov
2013-10-12 20:41     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.