From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Brenner Newsgroups: gmane.emacs.devel Subject: Re: Bug or filling feature? Date: Sat, 16 Jan 2010 18:31:03 -0800 Message-ID: <201001170231.o0H2V3Mm081113@kzsu.stanford.edu> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1263695492 31778 80.91.229.12 (17 Jan 2010 02:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Jan 2010 02:31:32 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 17 03:31:24 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NWKvE-0006FK-2L for ged-emacs-devel@m.gmane.org; Sun, 17 Jan 2010 03:31:24 +0100 Original-Received: from localhost ([127.0.0.1]:42036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWKvE-0003UW-V3 for ged-emacs-devel@m.gmane.org; Sat, 16 Jan 2010 21:31:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWKv8-0003UR-Ho for emacs-devel@gnu.org; Sat, 16 Jan 2010 21:31:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWKv3-0003UE-RX for emacs-devel@gnu.org; Sat, 16 Jan 2010 21:31:18 -0500 Original-Received: from [199.232.76.173] (port=53939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWKv3-0003UB-Hr for emacs-devel@gnu.org; Sat, 16 Jan 2010 21:31:13 -0500 Original-Received: from smtp3.stanford.edu ([171.67.219.83]:47776 helo=smtp.stanford.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NWKv3-0005gk-5u for emacs-devel@gnu.org; Sat, 16 Jan 2010 21:31:13 -0500 Original-Received: from smtp.stanford.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id CE9421A0694; Sat, 16 Jan 2010 18:31:10 -0800 (PST) Original-Received: from kzsu.stanford.edu (KZSU.Stanford.EDU [171.66.118.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.stanford.edu (Postfix) with ESMTPS id C86621A067F; Sat, 16 Jan 2010 18:31:08 -0800 (PST) Original-Received: from kzsu.stanford.edu (localhost.stanford.edu [127.0.0.1]) by kzsu.stanford.edu (8.13.4/8.13.7) with ESMTP id o0H2V3Mm081113; Sat, 16 Jan 2010 18:31:08 -0800 (PST) (envelope-from doom@kzsu.stanford.edu) In-reply-to: Comments: In-reply-to Lennart Borgman message dated "Sat, 16 Jan 2010 02:43:30 +0100." X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 23.1.90 X-Scanned-By: MIMEDefang 2.56 on 171.66.118.47 X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (kzsu.stanford.edu [127.0.0.1]); Sat, 16 Jan 2010 18:31:08 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120132 Archived-At: Lennart Borgman wrote: > Why does fill-paragraph in org-mode produce something like this: > > bla bla http://some.where/ bla bla bla > //bla bla > > The // on the second line was added by fill-paragraph and is aligned > with that on the first line. I did not change any setting. Or at least > I do not think I did. I did a customize-save-customized however, to > save another totally unrelated setting. I think this is a long-standing bug (though I don't know if it's ever been reported as one). It comes up in a lot of contexts. If you start with the following paragraph, and re-format it with the fill column after the word "multiple"... The greater than symbol: > is used for multiple purposes when one is out riding the inner tubes. ...you end up with this: The greater than symbol: > is used for multiple > purposes when one is out riding the inner tubes. At a guess, this is a bad side-effect of some code that was written for formatting quoted paragraphs in mail messages and so on. Myself, I normally format things with fill-paragraph for its speed, but in cases where it messes up, I use an elisp wrapper to run an external script: http://groups.google.com/group/emacs-perl-intersection/browse_thread/thread/35c4c3832bef103e