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

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

bug#46093: Shell-script mode formatting error eats half the page


From: 積丹尼 Dan Jacobson
Subject: bug#46093: Shell-script mode formatting error eats half the page
Date: Thu, 28 Jan 2021 01:36:40 +0800

>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:
LI> (I moved the semicolon to before the "do", not after.  Which is
LI> apparently the correct syntax according to

My example had no semicolon, not before, not after.

LI>     for name [ [in [words …] ] ; ] do commands; done

                                   ^^^ see, that semicolon is optional.
                                   That's what the extra brackets mean.

LI> So Emacs seems to do the correct thing here; closing.

Well, yes, if everybody always used the optional semicolon, you might say.





reply via email to

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