From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53527 Path: main.gmane.org!not-for-mail From: Mark Thomas Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Re: format=flowed joining paragraphs Date: Thu, 24 Jul 2003 11:08:02 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1059059225 31404 80.91.224.249 (24 Jul 2003 15:07:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2003 15:07:05 +0000 (UTC) Original-X-From: ding-owner+M2071@lists.math.uh.edu Thu Jul 24 17:07:00 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19fhgK-00089m-00 for ; Thu, 24 Jul 2003 17:07:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19fhhQ-00050Y-00; Thu, 24 Jul 2003 10:08:08 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19fhhM-00050T-00 for ding@lists.math.uh.edu; Thu, 24 Jul 2003 10:08:04 -0500 Original-Received: (qmail 36949 invoked by alias); 24 Jul 2003 15:08:04 -0000 Original-Received: (qmail 36944 invoked from network); 24 Jul 2003 15:08:04 -0000 Original-Received: from cmu-32888.wv.cc.cmu.edu (HELO svelte.home) (128.2.77.166) by sclp3.sclp.com with SMTP; 24 Jul 2003 15:08:04 -0000 Original-Received: from mthomas by svelte.home with local (Exim 3.36 #1 (Debian)) id 19fhhK-0000av-00 for ; Thu, 24 Jul 2003 11:08:02 -0400 Original-To: ding@gnus.org Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: (Mark Thomas's message of "Wed, 23 Jul 2003 11:34:02 -0400") User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53527 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53527 --=-=-= According to RFC 2646, the text `Take some more tea,' the March Hare said to Alice, very earnestly. `I've had nothing yet,' Alice replied in an offended tone, `so I can't take more.' `You mean you can't take LESS,' said the Hatter: `it's very easy to take MORE than nothing.' can be encoded as `Take some more tea,' the March Hare said to Alice, very* earnestly.* # `I've had nothing yet,' Alice replied in an offended tone, `so* I can't take more.'* # `You mean you can't take LESS,' said the Hatter: `it's very* easy to take MORE than nothing.'# (using '*' to indicate a soft line break, that is, SP CRLF sequence, and '#' to indicate a hard line break, that is, CRLF). Putting the encoded text into a buffer and issuing M-: (fill-flowed) gives me: `Take some more tea,' the March Hare said to Alice, very earnestly. `I've had nothing yet,' Alice replied in an offended tone, `so I can't take more.' `You mean you can't take LESS,' said the Hatter: `it's very easy to take MORE than nothing.' Using the attached patch, I get: `Take some more tea,' the March Hare said to Alice, very earnestly. `I've had nothing yet,' Alice replied in an offended tone, `so I can't take more.' `You mean you can't take LESS,' said the Hatter: `it's very easy to take MORE than nothing.' I haven't thoroughly tested the patch to see if it has any unintended side effects. -Mark --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=flow-fill.patch Content-Description: gnus/lisp/flow-fill.el patch --- /usr/local/lib/xemacs/xemacs-packages/lisp/gnus/flow-fill.el 2003-05-02 00:47:26.000000000 -0400 +++ /tmp/flow-fill.el 2003-07-24 11:04:08.000000000 -0400 @@ -127,7 +127,7 @@ (save-excursion (unless (eobp) (forward-char 1) - (looking-at (format "^\\(%s\\)\\([^>]\\)" + (looking-at (format "^\\(%s\\)\\([^>\n\r]\\)" (or quote " ?")))))) (save-excursion (replace-match (if (string= (match-string 2) " ") --=-=-=--