GNU bug report logs - #954
indentation in latex-mode in emacs-23

Previous Next

Package: emacs;

Reported by: "Chirok Han" <chirok.han <at> gmail.com>

Date: Wed, 10 Sep 2008 07:55:05 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 954 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Leslie Lamport <notlamport <at> microsoft.com>
To: martin rudalics <rudalics <at> gmx.at>, Chirok Han <chirok.han <at> gmail.com>
Cc: "954 <at> debbugs.gnu.org" <954 <at> debbugs.gnu.org>,
        Stefan
 Monnier <monnier <at> iro.umontreal.ca>
Subject: RE: bug#954: indentation in latex-mode in emacs-23
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:rudalics <at> gmx.at]
Sent: Tuesday, September 23, 2008 5:28 AM
To: Chirok Han
Cc: 954 <at> debbugs.gnu.org; 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  <rgm <at> gnu.org>

        (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





This bug report was last modified 16 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.