From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Lillibridge Newsgroups: gmane.emacs.bugs Subject: bug#6248: 23.1; justify (esc q) broken in Latex mode Date: Wed, 26 May 2010 19:46:16 -0700 Message-ID: References: Reply-To: mark.lillibridge@hp.com NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1274929090 1273 80.91.229.12 (27 May 2010 02:58:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 May 2010 02:58:10 +0000 (UTC) Cc: 6248@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 27 04:58:08 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OHTHv-0002qR-Nh for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 May 2010 04:58:07 +0200 Original-Received: from localhost ([127.0.0.1]:43735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHTHp-0000Ol-Si for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 May 2010 22:57:33 -0400 Original-Received: from [140.186.70.92] (port=44424 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHTHj-0000ME-4e for bug-gnu-emacs@gnu.org; Wed, 26 May 2010 22:57:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHTHf-0008Q4-20 for bug-gnu-emacs@gnu.org; Wed, 26 May 2010 22:57:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36379) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHTHf-0008Pw-0Z for bug-gnu-emacs@gnu.org; Wed, 26 May 2010 22:57:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OHT7e-0005ZE-HR; Wed, 26 May 2010 22:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Lillibridge Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 May 2010 02:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6248-submit@debbugs.gnu.org id=B6248.127492838921394 (code B ref 6248); Thu, 27 May 2010 02:47:02 +0000 Original-Received: (at 6248) by debbugs.gnu.org; 27 May 2010 02:46:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHT76-0005Z1-HP for submit@debbugs.gnu.org; Wed, 26 May 2010 22:46:28 -0400 Original-Received: from madara.hpl.hp.com ([192.6.19.124]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHT74-0005Yw-Mf for 6248@debbugs.gnu.org; Wed, 26 May 2010 22:46:27 -0400 Original-Received: from mailhub-pa1.hpl.hp.com (mailhub-pa1.hpl.hp.com [15.25.115.25]) by madara.hpl.hp.com (8.14.3/8.14.3/HPL-PA Relay) with ESMTP id o4R2kJEs001212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 26 May 2010 19:46:20 -0700 Original-Received: from ts-rhel4.hpl.hp.com (ts-rhel4.hpl.hp.com [15.25.118.24]) by mailhub-pa1.hpl.hp.com (8.14.3/8.14.3/HPL-PA Hub) with ESMTP id o4R2kGPZ020055; Wed, 26 May 2010 19:46:17 -0700 In-reply-to: (message from Stefan Monnier on Mon, 24 May 2010 22:43:00 -0400) X-Scanned-By: MIMEDefang 2.67 on 15.0.152.124 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 26 May 2010 22:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:37318 Archived-At: > >> It's not a bug, it's a feature. The change is because Emacs-21 did not > >> offer indentation for LaTeX, whereas Emacs>=22 does. > >> To get the behavior you want, you'll want to set > >> fill-indent-according-to-mode, e.g. > >> > >> (add-hook 'latex-mode-hook > >> (lambda () > >> (set (make-local-variable 'fill-indent-according-to-mode) nil))) > > > While that workaround does work, I'm still not convinced this isn't > > a bug. Why is this broken behavior a feature? > > It's a feature if you consider LaTeX as code rather than as text, so you > want the text parts of the LaTeX code to be properly indented, like > any other. I tend to view latex as text with intermixed code so I see this differently. I can see an argument for why text inside of a specific environment might need to be indented specially, I don't see why that would apply to top-level text outside of any environment. I suspect we're going to agree to disagree on this one; feel free to close this bug. - Mark