Subject: RE: bug#954: indentation in latex-mode in emacs-23

From: Leslie Lamport <[email-masked]>
Date: Tue, 23 Sep 2008 05:35:59 -0700

Martin,

I have no opinion on how a LaTeX input file should be formatted.

Leslie

-----Original Message-----
From: martin rudalics [mailto:[email-masked]]
Sent: Tuesday, September 23, 2008 5:28 AM
To: Chirok Han
Cc: [email-masked]; Stefan Monnier; Leslie Lamport
Subject: Re: bug#954: indentation in latex-mode in emacs-23

 > It is now
 > \[
 >   abc
 > \]
 >
 > I would like
 > \[
 > abc
 > \]
 > but if that's what you intend.

This part of the Emacs 23 behavior is due to that change:

2007-09-21  Glenn Morris  <[email-masked]>

        (latex-forward-sexp-1, latex-backward-sexp-1): Doc fix.
        Handle escaped parens.

If you convinced us that

\[
abc
\]

is more correct LaTeX style than

\[
   abc
\]

we might reconsider this.

Leslie, what's the preferred way to indent this?

martin