GNU bug report logs - #25768
25.1; wrong indent in shell-script-mode

Previous Next

Package: emacs;

Reported by: Frank Breitling <frank.breitling <at> gmx.de>

Date: Fri, 17 Feb 2017 00:55:02 UTC

Severity: minor

Found in version 25.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Frank Breitling <frank.breitling <at> gmx.de>, 25768 <at> debbugs.gnu.org
Subject: Re: bug#25768: 25.1; wrong indent in shell-script-mode
Date: Sat, 18 Feb 2017 16:45:03 +0000
[Message part 1 (text/plain, inline)]
Frank Breitling <frank.breitling <at> gmx.de> schrieb am Fr., 17. Feb. 2017 um
02:00 Uhr:

> I get the following indentation for my bash script in shell-script mode:
>
> for i in *; {
>      echo $i
> }
>           echo done
>
>
This is not documented Bash syntax: there is a 'do' required after the ';'.
The Bash parser accepts this form, but it remains undocumented, so Emacs
doesn't need to support it.
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 106 days ago.

Previous Next


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