From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rory Mulvaney Newsgroups: gmane.emacs.bugs Subject: bug#3336: fill-individual-paragraphs recently created bug Date: Wed, 20 May 2009 07:40:55 -0400 (EDT) Message-ID: Reply-To: Rory Mulvaney , 3336@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1242917202 12599 80.91.229.12 (21 May 2009 14:46:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 14:46:42 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 21 16:46:35 2009 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 1M79XW-0007BR-Q0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 May 2009 16:46:35 +0200 Original-Received: from localhost ([127.0.0.1]:44467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M79XW-0005SG-Ac for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 May 2009 10:46:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6kLA-0004gR-Mo for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:52:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6kL4-0004ZF-0e for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:52:06 -0400 Original-Received: from [199.232.76.173] (port=51972 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6kL3-0004Z4-T5 for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:52:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48558) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6kL3-0005oH-2c for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:52:01 -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 n4KBpveo000482; Wed, 20 May 2009 04:51:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4KBj4aM030242; Wed, 20 May 2009 04:45:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Rory Mulvaney Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 20 May 2009 11:45:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3336 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124281967230023 (code B ref -1); Wed, 20 May 2009 11:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 May 2009 11:41:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4KBf52A029659 for ; Wed, 20 May 2009 04:41:06 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6kAT-0002ML-4p for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:41:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6kAO-0002LT-K6 for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:41:04 -0400 Original-Received: from [199.232.76.173] (port=58255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6kAO-0002LQ-HQ for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:41:00 -0400 Original-Received: from mx1.umbc.edu ([130.85.25.76]:35573) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M6kAO-0004Lw-54 for bug-gnu-emacs@gnu.org; Wed, 20 May 2009 07:41:00 -0400 Original-Received: from smtp.umbc.edu (localhost [127.0.0.1]) by umbc.edu (mx1.umbc.edu) with ESMTP id n4KBeuRr001729 for ; Wed, 20 May 2009 07:40:56 -0400 (EDT) Original-Received: from linux1.gl.umbc.edu (linux1.gl.umbc.edu [130.85.24.91]) by smtp.umbc.edu (mx1-relay.umbc.edu) with ESMTP id n4KBeu2S001725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 20 May 2009 07:40:56 -0400 (EDT) Original-Received: from localhost (rory1@localhost) by linux1.gl.umbc.edu (8.13.8/8.12.8) with ESMTP id n4KBetXP001690 for ; Wed, 20 May 2009 07:40:56 -0400 X-Authentication-Warning: linux1.gl.umbc.edu: rory1 owned process doing -bs X-X-Sender: rory1@linux1.gl.umbc.edu X-Milter-Key: 1242949256:1792705aba710b6e8cd26e2a4c287efd X-ClamAV: OK X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 20 May 2009 07:52:06 -0400 X-Mailman-Approved-At: Thu, 21 May 2009 10:46:18 -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:28062 Archived-At: Hello, I use a system of indented note-taking where each separate note is a paragraph with a hanging indent of 1 space, and the whole paragraph is indented by some even number of spaces. I frequently use indent-rigidly and fill-individual-paragraphs, in order to make the indentation right. When I recently upgraded to emacs22 this year, a bug was introduced in fill-individual-paragraphs, described here in a simple example: In text fill mode with fill-column set at 78 (I think), repeat 12 blocks of 1234567890 like so, properly filled with a hanging indent of 1 space: 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890 Then select the region given by that paragraph and call indent-rigidly with an argument of 4, to indent the whole thing, and then follow that up with an invocation of fill-individual-paragraphs, with that paragraph selected. In my upgraded emacs, that improperly fills the paragraph. If the simpler command fill-paragraph is used on the paragraph, it works correctly. Obviously I don't want to call fill-paragraph a bunch of times when I want to fill many paragraphs at once, so this is a very annoying bug. Fill-individual-paragraphs used to work correclty on the previous version of emacs (emacs21, I think) for Debian stable. Thanks for any help with this, Rory Mulvaney some settings from report-emacs-bug: In GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-11-09 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t