all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 954@emacsbugs.donarmstrong.com
Subject: bug#954: indentation in latex-mode in emacs-23
Date: Wed, 24 Sep 2008 12:48:32 -0400	[thread overview]
Message-ID: <t33ajpmqvz.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <48D9F7CB.2010900@gmx.at> (martin rudalics's message of "Wed, 24 Sep 2008 10:18:19 +0200")

martin rudalics wrote:

>  > It's not something I can convince you about. And I don't think there
>  > is any correct or incorrect formatting style. It's just from my 10
>  > years experience. As I get older, it gets harder to accommodate new
>  > things no matter how small they are....
>
> ... sounds convincing.  What about the attached patch?

Sorry to disagree, but "change bad" is not a convincing argument to me.

I prefer the current form because I think that

\begin{math}
  a = b
\end{math}

and

\(
  a = b
\)

should be formatted the same. A comment in the original bug that
motivated this change seems more convincing to me:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-09/msg00045.html

    The correct solution would require that \(, \), \[, and \] are
    treated the same as \begin{math}, \end{math}, \begin{displaymath},
    and \end{displaymath}. (The latter are defined in terms of the
    former in latex.ltx.)

But I have to admit that: i) I use AUCTeX; and ii) I don't use \( \),
so take all that with a large grain of salt. :)

So please just check that whatever change is installed does not bring
back the original tex-validate-region problem:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-09/msg00038.html






  reply	other threads:[~2008-09-24 16:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-23  6:33 bug#954: indentation in latex-mode in emacs-23 martin rudalics
2008-09-23 11:13 ` Chirok Han
2008-09-23 12:28   ` martin rudalics
2008-09-23 12:35     ` Leslie Lamport
2008-09-23 12:45     ` Chirok Han
2008-09-24  8:18       ` martin rudalics
2008-09-24 16:48         ` Glenn Morris [this message]
2008-09-24 17:01           ` martin rudalics
2008-09-24 20:31           ` Stefan Monnier
2008-09-25  1:07           ` Chirok Han
  -- strict thread matches above, loose matches on Subject: below --
2008-09-10  7:46 Chirok Han
2008-09-10 16:41 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=t33ajpmqvz.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=954@emacsbugs.donarmstrong.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.