From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6248: 23.1; justify (esc q) broken in Latex mode Date: Sat, 22 May 2010 21:37:06 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1274579847 4606 80.91.229.12 (23 May 2010 01:57:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 May 2010 01:57:27 +0000 (UTC) Cc: 6248@debbugs.gnu.org To: mark.lillibridge@hp.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 23 03:57:20 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 1OG0RM-0007zA-Eh for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 May 2010 03:57:20 +0200 Original-Received: from localhost ([127.0.0.1]:48411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OG0RL-0008Fr-US for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 May 2010 21:57:19 -0400 Original-Received: from [140.186.70.92] (port=35804 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OG0RF-0008F0-Cj for bug-gnu-emacs@gnu.org; Sat, 22 May 2010 21:57:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OG0RB-0003ue-Fg for bug-gnu-emacs@gnu.org; Sat, 22 May 2010 21:57:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57376) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OG0RB-0003uY-Bg for bug-gnu-emacs@gnu.org; Sat, 22 May 2010 21:57:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OG08f-0001bx-N1; Sat, 22 May 2010 21:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 May 2010 01:38:01 +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.12745786336183 (code B ref 6248); Sun, 23 May 2010 01:38:01 +0000 Original-Received: (at 6248) by debbugs.gnu.org; 23 May 2010 01:37:13 +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 1OG07t-0001bg-5I for submit@debbugs.gnu.org; Sat, 22 May 2010 21:37:13 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OG07r-0001bb-6w for 6248@debbugs.gnu.org; Sat, 22 May 2010 21:37:11 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhkFAOci+EtFpZMM/2dsb2JhbACRfIwUcrwnhRMEjD8 X-IronPort-AV: E=Sophos;i="4.53,284,1272859200"; d="scan'208";a="64856485" Original-Received: from 69-165-147-12.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.12]) by ironport2-out.pppoe.ca with ESMTP; 22 May 2010 21:37:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 910738175; Sat, 22 May 2010 21:37:06 -0400 (EDT) In-Reply-To: (Mark Lillibridge's message of "Sat, 22 May 2010 10:51:42 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 22 May 2010 21:38:01 -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:37193 Archived-At: > Repeat the steps using instead a suffix of .tex (latex mode); this time > you instead obtain the following incorrect result: > This is a sample paragraph of text that is long enough that it may > need to be filled. Here's a second sentence to continue the > paragraph. And one more sentence for good measure. > Justify in latex mode worked correctly in Emacs 21, but does not work > correctly in 22 or 23. Please fix. 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))) -- Stefan