[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of mul
From: |
Steve Purcell |
Subject: |
bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens) |
Date: |
Sat, 21 Dec 2013 16:49:03 +0000 |
On 21 Dec 2013, at 15:53, Dmitry Gutov <dgutov@yandex.ru> wrote:
> But this style or all over the Rails codebase. And, personally, I quite like
> this usage of `begin' (basically, one of Adam's examples):
>
> a ||= begin
> perform_long_lookup
> end
>
> Indenting `if' and friends similarly might be good for consistency, at least.
>
> (Again, this example is indented differently by default in ruby-mode.)
For some reason, that example doesn’t look quite as ugly to me. Any “rescue”
clause would presumably be aligned to match the “end”.
Obviously my tastes are not self-consistent.
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), (continued)
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/19
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Bozhidar Batsov, 2013/12/19
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Steve Purcell, 2013/12/19
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/20
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Bozhidar Batsov, 2013/12/20
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/20
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Bozhidar Batsov, 2013/12/20
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/21
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Steve Purcell, 2013/12/21
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/21
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens),
Steve Purcell <=
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Adam Doppelt, 2013/12/21
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/21
- bug#16182: Acknowledgement (24.3.50; ruby-mode: Indentation style of multiline literals with hanging open paren inside other parens), Dmitry Gutov, 2013/12/19
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, 2013/12/19
bug#16182:, Adam Sokolnicki, 2013/12/20