bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61017: 29.0.60; ruby-ts-mode indents class between two lines incorre


From: Dmitry Gutov
Subject: bug#61017: 29.0.60; ruby-ts-mode indents class between two lines incorrectly
Date: Wed, 25 Jan 2023 17:23:06 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 25/01/2023 16:22, Aaron Jensen wrote:
On Tue, Jan 24, 2023 at 11:00 PM Dmitry Gutov<dgutov@yandex.ru>  wrote:
On 25/01/2023 02:45, Aaron Jensen wrote:

Is it enough of an improvement?
That seems to make indentation after an open def not happen:

def foo
bar
end
Not sure what you mean. Is that an example with an "open def"? "end"
seems to be closing it. In the final state, it indents correctly here.
Sorry, that's what I meant. If I do type exactly that and do not
reindent, I end up with that though (closing with the end does not
cause the previous line to reindent)
All right.

But if the proposed patch doesn't make things worse for this example, we
might as well install it. Because this "unclosed def" case is distinct
from the one you filed this bug report regarding.
Sounds good to me.

And done. Thanks for testing.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]