all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 46093@debbugs.gnu.org
Subject: bug#46093: Shell-script mode formatting error eats half the page
Date: Thu, 28 Jan 2021 01:36:40 +0800	[thread overview]
Message-ID: <87o8ha7047.5.fsf@jidanni.org> (raw)
In-Reply-To: <87czxtfx2r.8.fsf@jidanni.org>

>>>>> "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	other threads:[~2021-01-27 17:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25  4:40 bug#46093: Shell-script mode formatting error eats half the page 積丹尼 Dan Jacobson
2021-01-27  2:09 ` Lars Ingebrigtsen
2021-01-27 17:36   ` 積丹尼 Dan Jacobson [this message]
2021-01-28  2:44     ` Lars Ingebrigtsen
2021-01-27 20:08   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o8ha7047.5.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=46093@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.