[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16182:
From: |
Adam Doppelt |
Subject: |
bug#16182: |
Date: |
Thu, 19 Dec 2013 10:39:43 -0800 |
Coincidentally, I mailed Dmitry about this very issue today! He
encouraged me to chime in on the bug.
In my neck of the woods it's common to indent to the beginning of the statement:
x = if y
y + 1
end
x = list.each do |i|
i
end
x = case y
when 1 then 2
end
@x ||= begin
expensive_operation
...
end
CONSTANT = begin
expensive_operation
...
end
I patched my personal ruby-mode to default to this indenting.
Incidentally, as the resident emacs enthusiast my dotfiles are used by
many emacs rubyists here in Seattle.
I'd love to see this supported in the new ruby-mode. Just my two cents.
bug#16182: 24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens, Stefan Monnier, 2013/12/18
bug#16182:, Adam Sokolnicki, 2013/12/18
bug#16182:,
Adam Doppelt <=
bug#16182:, Adam Sokolnicki, 2013/12/20