Subject: bug#2910: 23.0.60; Shell-script coloring bug

From: Reuben Thomas <[email-masked]>
Date: Thu, 9 Apr 2009 12:06:56 +0100 (BST)

On Thu, 9 Apr 2009, Glenn Morris wrote:

>
> The discussion at
>
> http://lists.gnu.org/archive/html/bug-bash/2009-04/msg00040.html
>
> would indicate this was just a "typo" in the online posix docs.
> Is any change in Emacs needed?

If you read the thread again, you'll see that there's no disagreement 
between me and the others over what the correct syntax is, just a 
disagreement over whether the POSIX document does in fact represent it. 
Emacs is definitely getting the coloring wrong.

As Eric Blake says:

Which means the POSIX-mandated syntax should really be represented as:

for name [in [word...] ;] do
   compound-list
done

which neatly demonstrates both the points I raised in my bug report.

-- 
http://rrt.sc3d.org/ | robber, n.  a candid man of affairs (Bierce)