From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61219 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Behaviour of flow-fill before signature Date: Wed, 26 Oct 2005 11:13:00 +0200 Message-ID: References: <2n64rlcrvo.fsf@ccfs1.fuw.edu.pl> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1130318456 13070 80.91.229.2 (26 Oct 2005 09:20:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2005 09:20:56 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m9748@lists.math.uh.edu Wed Oct 26 11:20:54 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUhRw-0001jM-PA for ding-account@gmane.org; Wed, 26 Oct 2005 11:20:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EUhRo-0003iR-00; Wed, 26 Oct 2005 04:19:52 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EUhMG-0003iM-00 for ding@lists.math.uh.edu; Wed, 26 Oct 2005 04:14:08 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EUhME-000197-LN for ding@lists.math.uh.edu; Wed, 26 Oct 2005 04:14:08 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EUhM4-00079K-00 for ; Wed, 26 Oct 2005 11:13:56 +0200 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3) with ESMTP id j9Q9D1LH008845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 26 Oct 2005 11:13:02 +0200 Original-To: Michal Jankowski OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:051026:michal.jankowski@fuw.edu.pl::ZIFlPK7YMWO+Ju9B:3dO0 X-Hashcash: 1:21:051026:ding@gnus.org::fPgKsVW+hRwF5G54:DUgs X-Hashcash: 1:21:051026:michal.jankowski@fuw.edu.pl::SrXo+2uwpeKrq8Fj:4yar In-Reply-To: <2n64rlcrvo.fsf@ccfs1.fuw.edu.pl> (Michal Jankowski's message of "Tue, 25 Oct 2005 21:34:51 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61219 Archived-At: Michal Jankowski writes: > Hello, > > I have noticed that some "format=flowed;" messages are displayed > incorrectly (?) - the signature is treated as part of the message and > "flowed" together with it. > > It seems to happen whenever the last non-blank line before signature > ends with a space, like this (quotes added for clarity): > > "Last line " > "" > "-- " > "Sig" > > gets displayed as > "Last line -- " > "Sig" > > I'm using Gnus v5.10.2. > > For real example, see the usenet message > > > Any ideas? One could argue that messages shouldn't end with "flowed" > line and therefore the above message is malformed (?). But I'm seeing > more and more messages formatted like this and would like to see Gnus > displaying them better. The RFC is clear on this, see quote below, the above would be incorrect. However, this should be fixed in CVS, both for Gnus 5.10 and No Gnus, so an upgrade should solve the problem. An interpreting agent SHOULD allow for three exceptions to the rule that paragraphs end with a fixed line. These exceptions are improperly constructed messages: a flowed line SHOULD be considered to end the paragraph if it is followed by a line of a different quote depth (see 4.5) or by a signature separator (see 4.3); the end of the body also ends the paragraph. I have made this message an example of this problem, so that people can test whether code works or not. I had to fix a bug in No Gnus to make unquoted lines flow too. Last line -- Sig