Subject: shell-script mode indentation fooled by one-liner 'for' statement
From: 積丹尼 Dan Jacobson <[email-masked]>
To: bug-gnu-emacs <[email-masked]>
Date: Thu, 13 Aug 2015 00:32:30 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

In shell-script [Bash] mode, C-x h TAB gives

for i do mountpoint -q $i||exit 88; done
    c=apt-get #aptitude

which has wrong indentation. It should be

for i do mountpoint -q $i||exit 88; done
c=apt-get #aptitude