From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: format=flowed not respected
Date: Tue, 21 Oct 2003 13:10:44 +0200 [thread overview]
Message-ID: <ilu4qy2yhfv.fsf@extundo.com> (raw)
In-Reply-To: <87smlmzza4.fsf@home.lan> (Steinar Bang's message of "Tue, 21 Oct 2003 12:00:03 +0200")
Steinar Bang <sb@dod.no> 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
">".
...
next prev parent reply other threads:[~2003-10-21 11:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-21 10:00 Steinar Bang
2003-10-21 11:10 ` Simon Josefsson [this message]
2003-10-21 17:55 ` Steinar Bang
2003-10-22 6:31 ` Simon Josefsson
2003-10-22 19:58 ` Steinar Bang
2003-10-23 5:29 ` Simon Josefsson
2003-10-23 6:53 ` Steinar Bang
2003-10-23 7:07 ` Simon Josefsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ilu4qy2yhfv.fsf@extundo.com \
--to=jas@extundo.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).