Subject: Re: bug#20227: 11.88.3; indentation of \[ ... \] environment is broken
From: Mosè Giordano <[email-masked]>
To: Todor Tsankov <[email-masked]>
Cc: [email-masked]
Date: Mon, 30 Mar 2015 16:23:11 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Todor,

2015-03-29 23:44 GMT+02:00 Todor Tsankov <[email-masked]>:
> ------------------------------------------------------------------------
>
> The automatic indentation of the \[ ... \] environment does not seem to
> work correctly. Of the three examples below only the first one looks
> right.
>
> I obtained those results by selecting the entire environment and running
> indent-region.
>
> Thanks for looking into this.
>
> \[
>   x
> \]
>
> \[
>   \begin{split}
>   x &= y \\
>   y &= z
> \end{split}
> \]
>
> \begin{itemize}
> \item Some text here
>   \[
>   x
> \]
> \end{itemize}

Thanks for the very good bug report.  It should be fixed now with commit

    c2f6e9c    [Fix #20227] Fix indentation of \[...\] math mode.

Bye,
Mosè