From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Chirok Han" Newsgroups: gmane.emacs.bugs Subject: bug#954: indentation in latex-mode in emacs-23 Date: Thu, 25 Sep 2008 10:07:05 +0900 Message-ID: <221cda020809241807k911db86tb3e42a0bec0cb154@mail.gmail.com> References: <48D88DB3.1090205@gmx.at> <221cda020809230413t42e532c0m24fbf8e700c6c582@mail.gmail.com> <48D8E0E7.1090307@gmx.at> <221cda020809230545o111a51ffje05f4e2fae972876@mail.gmail.com> <48D9F7CB.2010900@gmx.at> Reply-To: Chirok Han , 954@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222306210 10551 80.91.229.12 (25 Sep 2008 01:30:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 01:30:10 +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 Thu Sep 25 03:31:07 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 1KifhC-0006bI-S3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Sep 2008 03:31:07 +0200 Original-Received: from localhost ([127.0.0.1]:50814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KifgA-00062V-3q for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Sep 2008 21:30:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kifg7-00062M-Fm for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 21:29:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kifg6-00061z-0j for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 21:29:59 -0400 Original-Received: from [199.232.76.173] (port=43264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kifg5-00061w-Uj for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 21:29:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47093) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kifg5-0005qE-E7 for bug-gnu-emacs@gnu.org; Wed, 24 Sep 2008 21:29: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 m8P1TsGv004181; Wed, 24 Sep 2008 18:29:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8P1F3lT000618; Wed, 24 Sep 2008 18:15:03 -0700 X-Loop: don@donarmstrong.com Resent-From: "Chirok Han" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 25 Sep 2008 01:15:02 +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.122230483031832 (code B ref 954); Thu, 25 Sep 2008 01:15:02 +0000 Original-Received: (at 954) by emacsbugs.donarmstrong.com; 25 Sep 2008 01:07:10 +0000 Original-Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.187]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8P1769n031826 for <954@emacsbugs.donarmstrong.com>; Wed, 24 Sep 2008 18:07:07 -0700 Original-Received: by ti-out-0910.google.com with SMTP id b6so64613tic.1 for <954@emacsbugs.donarmstrong.com>; Wed, 24 Sep 2008 18:07:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YdknZ7LQv6/zJP67pvh3mh5b7czDAqYeRZFZXHQ8zj0=; b=K/ZXc57v/GmoOnkeF3nxjsYT3S4r9X/fg0Za5d6cFlkDDy00nHJKZZUM8YlwOUXJCI KSiCZHDts/HTvZ0LEP81BJ9plzvNyBYOoQ0C2EOgUbRao0suO9TO+TZaDWuWmbh42ins Yh39ylYq44wV+MjfItKlgRqlCSSN8OvPz9DPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Q94PVKblGcWIlIaZDyQ6szcRxzmvkOAeRU+TBKe+kblWZgNrRmzrz0Xo39SpCJyrUk XPsyA0j4YD2pmdOlfnTM/ZaVTqN8Q6CreazAOrFARIsRstLq8iZVTwlD9STKwD/pnv/g jVR9w5a1DLblF13wFImaJo/1JDAAsvNkPMKhg= Original-Received: by 10.110.70.17 with SMTP id s17mr10544120tia.27.1222304825222; Wed, 24 Sep 2008 18:07:05 -0700 (PDT) Original-Received: by 10.110.46.16 with HTTP; Wed, 24 Sep 2008 18:07:05 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 24 Sep 2008 21:29: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:20744 Archived-At: Hi Glenn and Martin, I have no objections to Glenn's argument. And also many thanks to Martin; I can now figure out which part to modify for customization.... :) Chirok PS. Just one correction. I think Glenn meant \[ abc \] instead of \( abc \) On Thu, Sep 25, 2008 at 1:48 AM, Glenn Morris wrote: > 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 >