--- Begin Message ---
Subject: |
sh-mode indentation of {} or () inside do or if |
Date: |
Fri, 06 Jun 2014 19:17:54 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs
Version: 24.3.91
emacs -Q foo.sh
for foo in bar; do
[ -e $foo ] && {
echo t
}
done
The above is how 24.3 indents it. 24.3.91 does the following:
for foo in bar; do
[ -e $foo ] && {
echo t
}
done
Same issue with if...fi rather than do...done,
and with () rather than {}.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17721: sh-mode indentation of {} or () inside do or if |
Date: |
Fri, 20 Jun 2014 10:24:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> for foo in bar; do
> [ -e $foo ] && {
> echo t
> }
> done
Should be fixed now,
Stefan
--- End Message ---