From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#954: indentation in latex-mode in emacs-23 Date: Wed, 24 Sep 2008 12:48:32 -0400 Message-ID: References: <48D88DB3.1090205@gmx.at> <221cda020809230413t42e532c0m24fbf8e700c6c582@mail.gmail.com> <48D8E0E7.1090307@gmx.at> <221cda020809230545o111a51ffje05f4e2fae972876@mail.gmail.com> <48D9F7CB.2010900@gmx.at> Reply-To: Glenn Morris , 954@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1222276221 14842 80.91.229.12 (24 Sep 2008 17:10:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2008 17:10:21 +0000 (UTC) Cc: 954@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 24 19:11:18 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 1KiXtN-00032N-A1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 19:11:09 +0200 Original-Received: from localhost ([127.0.0.1]:35506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiXsL-0005bx-77 for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 13:10:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiXsF-0005Zf-Ol for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:09:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiXsD-0005XY-Rh for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:09:59 -0400 Original-Received: from [199.232.76.173] (port=44956 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiXsD-0005XA-HA for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:09:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49602) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KiXsC-0000cl-Tk for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 13:09:57 -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 m8OH9sTb008663; Wed, 24 Sep 2008 10:09:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8OH03KW005629; Wed, 24 Sep 2008 10:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 24 Sep 2008 17:00: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.12222750474309 (code B ref 954); Wed, 24 Sep 2008 17:00:03 +0000 Original-Received: (at 954) by emacsbugs.donarmstrong.com; 24 Sep 2008 16:50:47 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8OGod2J004303 for <954@emacsbugs.donarmstrong.com>; Wed, 24 Sep 2008 09:50:40 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KiXXU-0006hN-LO; Wed, 24 Sep 2008 12:48:32 -0400 X-Spook: $400 million in gold bullion espionage AVIP IRA Marxist X-Ran: )pJBKrX~qB]k,6Gnxxf~HkB-|iF)LqTCApX (martin rudalics's message of "Wed, 24 Sep 2008 10:18:19 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 24 Sep 2008 13:09:59 -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:20725 Archived-At: 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