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

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

bug#24785: 24.5; Shell-script indentation after line continuation


From: Karl Wette
Subject: bug#24785: 24.5; Shell-script indentation after line continuation
Date: Tue, 25 Oct 2016 14:42:55 +0200

Thanks. Unfortunately this isn't yet an option in my version of Emacs, but I'll keep it in mind for the future.

On 24 October 2016 at 22:20, Philipp Stephani <p.stephani2@gmail.com> wrote:


Karl Wette <karl.wette@gmail.com> schrieb am Mo., 24. Okt. 2016 um 22:04 Uhr:

In Shell-script mode, indentation after a line continuation seems broken:

aaaaaaaaaaaaaaaaaaaa \
    indents to the correct 4 spaces, but

aaaaaaaaaa aaaaaaaaa \
           indents to the first whitespace in the line

${aaaaaaaaaaa}aaaaa \
              indents to after the closing bracket

( aaaaaaaaa ) && aa \
                     indents to after the line continuation

This seems to be very underisable, and there should at least be an option
of getting back the old behaviour of a fixed indent.


There is: Set `sh-indent-after-continuation' to 'always. 


reply via email to

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