From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#954: indentation in latex-mode in emacs-23 Date: Wed, 24 Sep 2008 19:01:41 +0200 Message-ID: <48DA7275.40508@gmx.at> References: <48D88DB3.1090205@gmx.at> <221cda020809230413t42e532c0m24fbf8e700c6c582@mail.gmail.com> <48D8E0E7.1090307@gmx.at> <221cda020809230545o111a51ffje05f4e2fae972876@mail.gmail.com> <48D9F7CB.2010900@gmx.at> Reply-To: martin rudalics , 954@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222277425 19336 80.91.229.12 (24 Sep 2008 17:30:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 17:30:25 +0000 (UTC) Cc: 954@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 19:31:14 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KiYCi-00035H-EU for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 19:31:08 +0200 Original-Received: from localhost ([127.0.0.1]:37038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiYBg-0007Jc-ET for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 13:30:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiYBb-0007Ig-71 for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:29:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiYBZ-0007Ga-4i for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:29:58 -0400 Original-Received: from [199.232.76.173] (port=58270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiYBY-0007Fq-IX for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:29:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57700) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KiYBX-0003rH-Vn for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:29:56 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8OHTsR9013398; Wed, 24 Sep 2008 10:29:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8OHA3dp008732; Wed, 24 Sep 2008 10:10:03 -0700 X-Loop: don@donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 24 Sep 2008 17:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 954 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 954-submit@emacsbugs.donarmstrong.com id=B954.12222758796721 (code B ref 954); Wed, 24 Sep 2008 17:10:03 +0000 Original-Received: (at 954) by emacsbugs.donarmstrong.com; 24 Sep 2008 17:04:39 +0000 Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8OH4Y75006715 for <954@emacsbugs.donarmstrong.com>; Wed, 24 Sep 2008 10:04:36 -0700 Original-Received: (qmail invoked by alias); 24 Sep 2008 17:04:28 -0000 Original-Received: from 62-47-36-80.adsl.highway.telekom.at (EHLO [62.47.36.80]) [62.47.36.80] by mail.gmx.net (mp054) with SMTP; 24 Sep 2008 19:04:28 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+sstl7qxqsyovDGYjZhljdDIph9bDFaB9z2+kJ2n vL1f5NIyzt/v0X User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 24 Sep 2008 13:29:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20726 Archived-At: > I prefer the current form because I think that > > \begin{math} > a = b > \end{math} > > and > > \( > a = b > \) > > should be formatted the same. I think so too. On the other hand, indenting habits are persistent. And, according to Leslie, there doesn't seem to exist a convention for indentation of LaTeX source. > 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. :) I don't know - how does AUCTeX indent this? > 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 Sure. I strongly hope that `tex-validate-region' doesn't care about indentation. martin