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 #30 received at 954 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Chirok Han <chirok.han <at> gmail.com>
Cc: 954 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
        Leslie Lamport <notlamport <at> microsoft.com>
Subject: Re: bug#954: indentation in latex-mode in emacs-23
Date: Tue, 23 Sep 2008 14:28:23 +0200
> 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 254 days ago.

Previous Next


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