From: Philipp Stephani <p.stephani2@gmail.com>
To: Frank Breitling <frank.breitling@gmx.de>, 25768@debbugs.gnu.org
Subject: bug#25768: 25.1; wrong indent in shell-script-mode
Date: Sat, 18 Feb 2017 16:45:03 +0000 [thread overview]
Message-ID: <CAArVCkTv8-rAnMjSDQB_6n7+O35kC4ds=WuCg2LpBqpeFdWT0A@mail.gmail.com> (raw)
In-Reply-To: <4816d313-34c5-7c70-70c3-79c59fef5f75@gmx.de>
[-- Attachment #1: Type: text/plain, Size: 401 bytes --]
Frank Breitling <frank.breitling@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.
[-- Attachment #2: Type: text/html, Size: 864 bytes --]
next prev parent reply other threads:[~2017-02-18 16:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-16 23:24 bug#25768: 25.1; wrong indent in shell-script-mode Frank Breitling
2017-02-18 16:45 ` Philipp Stephani [this message]
2021-02-05 13:18 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAArVCkTv8-rAnMjSDQB_6n7+O35kC4ds=WuCg2LpBqpeFdWT0A@mail.gmail.com' \
--to=p.stephani2@gmail.com \
--cc=25768@debbugs.gnu.org \
--cc=frank.breitling@gmx.de \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).