GNU bug report logs - #24785
24.5; Shell-script indentation after line continuation

Previous Next

Package: emacs;

Reported by: Karl Wette <karl.wette <at> gmail.com>

Date: Mon, 24 Oct 2016 18:45:02 UTC

Severity: minor

Found in version 24.5

Done: Karl Wette <karl.wette <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 24785 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Karl Wette <karl.wette <at> gmail.com>, 24785 <at> debbugs.gnu.org
Subject: Re: bug#24785: 24.5; Shell-script indentation after line continuation
Date: Mon, 24 Oct 2016 20:20:26 +0000
[Message part 1 (text/plain, inline)]
Karl Wette <karl.wette <at> 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.