From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54390 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: format=flowed not respected Date: Tue, 21 Oct 2003 13:10:44 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87smlmzza4.fsf@home.lan> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066734717 12678 80.91.224.253 (21 Oct 2003 11:11:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 11:11:57 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M2931@lists.math.uh.edu Tue Oct 21 13:11:52 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABuQa-00037L-00 for ; Tue, 21 Oct 2003 13:11:52 +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 1ABuQ4-0007w4-00; Tue, 21 Oct 2003 06:11:20 -0500 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ABuPv-0007vw-00 for ding@lists.math.uh.edu; Tue, 21 Oct 2003 06:11:11 -0500 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id 3C1333A004C for ; Tue, 21 Oct 2003 06:11:10 -0500 (CDT) Original-Received: from latte (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.10/8.12.10) with ESMTP id h9LBAr1e011085; Tue, 21 Oct 2003 13:10:59 +0200 Original-To: Steinar Bang Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:031021:sb@dod.no:7d2c956882acb222 X-Hashcash: 0:031021:sb@dod.no:7d2c956882acb222 X-Payment: hashcash 1.2 0:031021:ding@gnus.org:043053c3d4579633 X-Hashcash: 0:031021:ding@gnus.org:043053c3d4579633 In-Reply-To: <87smlmzza4.fsf@home.lan> (Steinar Bang's message of "Tue, 21 Oct 2003 12:00:03 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54390 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54390 Steinar Bang writes: > Messages received sent by Opera M2, has had format=flowed set in the > headers, but the lines haven't been broken when displayed by Gnus. > > Here's an example of such an article: > nntp://news.gmane.org/gmane.test/1013 > > Is there something I have to set to make format=flowed be used by > Gnus? Um, the lines should be "broken" by the sending client. The receiving client should "flow" together "broken" lines if they end with SPC, but isn't required to do anything else. So Opera is breaking a SHOULD in RFC 2646 when it does not break the lines before the 80th column. Gnus is behaving correctly in this example, as far as I can tell. 4.1. Generating Format=Flowed When generating Format=Flowed text, lines SHOULD be shorter than 80 characters. As suggested values, any paragraph longer than 79 characters in total length could be wrapped using lines of 72 or fewer characters. While the specific line length used is a matter of aesthetics and preference, longer lines are more likely to require rewrapping and to encounter difficulties with older mailers. It has been suggested that 66 character lines are the most readable. (The reason for the restriction to 79 or fewer characters between CRLFs on the wire is to ensure that all lines, even when displayed by a non-flowed-aware program, will fit in a standard 80-column screen without having to be wrapped. The limit is 79, not 80, because while 80 fit on a line, the last column is often reserved for a line-wrap indicator.) When creating flowed text, the generating agent wraps, that is, inserts 'soft' line breaks as needed. Soft line breaks are added between words. Because a soft line break is a SP CRLF sequence, the generating agent creates one by inserting a CRLF after the occurance of a space. A generating agent SHOULD NOT insert white space into a word (a sequence of printable characters not containing spaces). If faced with a word which exceeds 79 characters (but less than 998 characters, the [SMTP] limit on line length), the agent SHOULD send the word as is and exceed the 79-character limit on line length. A generating agent SHOULD: 1. Ensure all lines (fixed and flowed) are 79 characters or fewer in length, counting the trailing space but not counting the CRLF, unless a word by itself exceeds 79 characters. 2. Trim spaces before user-inserted hard line breaks. 3. Space-stuff lines which start with a space, "From ", or ">". ...