[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17213: 24.3.50; ruby-mode: misindented continuation method calls ins
bug#17213: 24.3.50; ruby-mode: misindented continuation method calls inside parens
Mon, 07 Apr 2014 05:45:27 +0300
The lines with dots should be indented one column more.
Same if I move either dot to the end of the previous line, but keep the
called methods where they are.
I can fix that for the second method call with the patch at the bottom,
but the first one is unaffected. Not sure what would be the best fix for
On a related note, it's worrisome that indentation of the these two
similar pieces of code in fairly similar positions is governed by
=== modified file 'lisp/progmodes/ruby-mode.el'
--- lisp/progmodes/ruby-mode.el 2014-03-27 08:21:15 +0000
+++ lisp/progmodes/ruby-mode.el 2014-04-04 03:28:12 +0000
@@ -658,7 +658,7 @@
(`(:before . ".")
(and ruby-align-chained-calls 0)
+ (smie-rule-parent ruby-indent-level)))
(`(:before . ,(or `"else" `"then" `"elsif" `"rescue" `"ensure"))
(`(:before . "when")
|[Prev in Thread]
||[Next in Thread]|
- bug#17213: 24.3.50; ruby-mode: misindented continuation method calls inside parens,
Dmitry Gutov <=