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

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

Re: smie regression?


From: Stefan Monnier
Subject: Re: smie regression?
Date: Sun, 12 Jul 2015 20:22:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> smie wants:
>         ionice -c3 \
>                nice \

Yup, it tries to align the arguments.
For long "multilines" with lots of structure, it is very nice.

> but i want what sh-indent-line does:
>
>         ionice -c3 \
>             nice \

This just wraps the line and indents it 4 spaces further than the
beginning of the line, without paying attention to structure.

Currently the sh-smie-* indentation does not offer this indentation
style.  It' been asked a few times already, so patch very welcome.

> has the behavior changed?

Yes.

> there does not appear to be anything in news about it.

No, not specifically.  The indentation code has been completely
rewritten, and that implies many different changes, which aren't
described in detail.


        Stefan




reply via email to

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