Subject: bug#21244: closed (Re: bug#2910: 23.0.60; Shell-script coloring bug)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 14 Oct 2023 15:03:02 +0000

Your bug report

#26217: shell-script mode indentation fooled by one-liner 'for' statement

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
26217: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26217
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#2910: 23.0.60; Shell-script coloring bug
From: Stefan Monnier <[email-masked]>
To: Mauro Aranda <[email-masked]>
Cc: Martin Vath <[email-masked]>, [email-masked], [email-masked]
Date: Sat, 14 Oct 2023 11:01:40 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

>> I haven't found problems, but I'm suspicious because it seems too easy.
> Welcome to the world of Emacs, where "if it's easy it must be right".

BTW, pushed to `master`, thank you.

        Stefan

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