[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions
From: |
Aaron Jensen |
Subject: |
bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions |
Date: |
Mon, 26 Dec 2022 20:47:44 -0500 |
On Mon, Dec 26, 2022 at 8:28 PM Dmitry Gutov <dgutov@yandex.ru> wrote:
>
> On 25/12/2022 02:14, Aaron Jensen wrote:
> > (setq ruby-indent-simplified t
>
> BTW, do you have any opinion on the name? Perhaps something more
> semantic would be easier to discover.
>
> A recent tree-sitter thread brought up sh-indent-after-continuation.
> It's not a direct counterpart, though, and the examples only look
> remotely similar.
>
> Call ours ruby-indent-continuations-simplified, maybe? Now that we seem
> to have reduced its scope to expression continuations across newlines.
>
> Hopefully it won't be confused with Kernel#callcc.
Simple is what it is in comparison to something more complex. All
indentations are pretty much about line continuation in one way or
another.
What is it on its own? I'm not sure.
Some food for thought:
Unaligned
Beginning of line aligned
Standard
Incremental
Snap-to-grid
K&R style
C style
Egyptian brackets
Not Lisp style
Lisp alignment: false
Argument alignment: false
Sort of a smattering there, but maybe it'll jog something for you.
Aaron
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, (continued)
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/24
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Aaron Jensen, 2022/12/24
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/25
- bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call, Dmitry Gutov, 2022/12/25
- bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call, Aaron Jensen, 2022/12/25
- bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call, Dmitry Gutov, 2022/12/26
- bug#60321: 29.0.60; ruby-mode indentation of hash or array as first arg in multiline method call, Aaron Jensen, 2022/12/26
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Aaron Jensen, 2022/12/24
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/25
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/26
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions,
Aaron Jensen <=
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/27
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Aaron Jensen, 2022/12/27
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/27
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Aaron Jensen, 2022/12/27
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/27
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Aaron Jensen, 2022/12/27
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/28
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/28
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Aaron Jensen, 2022/12/29
- bug#60186: 29.0.60; ruby-mode indentation of multi-line expressions, Dmitry Gutov, 2022/12/30