* bug#17721: sh-mode indentation of {} or () inside do or if
@ 2014-06-06 23:17 Glenn Morris
2014-06-20 14:24 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2014-06-06 23:17 UTC (permalink / raw)
To: 17721
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 {}.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-20 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 23:17 bug#17721: sh-mode indentation of {} or () inside do or if Glenn Morris
2014-06-20 14:24 ` Stefan Monnier
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.