The extent of <nofill> and other text/enriched nitpicks
Lennart Lovstrand <lennart@next.com> Tue, 13 February 1996 11:17 UTC
Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa11707;
13 Feb 96 6:17 EST
Received: from CNRI.Reston.VA.US by IETF.CNRI.Reston.VA.US id aa11703;
13 Feb 96 6:17 EST
Received: from list.cren.net by CNRI.Reston.VA.US id aa04918;
13 Feb 96 6:17 EST
Received: from localhost (localhost [127.0.0.1]) by list.cren.net
(8.6.12/8.6.12) with SMTP id FAA12159; Tue, 13 Feb 1996 05:40:41 -0500
Received: from pan.next.com (internal002199.NeXT.COM [129.18.2.199]) by
list.cren.net (8.6.12/8.6.12) with SMTP id FAA12136 for
<ietf-822@list.cren.net>; Tue, 13 Feb 1996 05:39:19 -0500
Received: by pan.next.com (NX5.67f1/NX3.0M)
id AA12010; Tue, 13 Feb 96 02:38:32 -0800
Received: by NeXT.Mailer (1.143)
Message-Id: <9602131038.AA12010@pan.next.com>
Date: Tue, 13 Feb 96 02:38:30 -0800
X-Orig-Sender: owner-ietf-822@list.cren.net
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Lennart Lovstrand <lennart@next.com>
To: Terry Crowley <tcrowley@vermeer.com>
Cc: "ietf-822@list.cren.net" <ietf-822@list.cren.net>, "Sukvinder Singh Gill\
(Exchange)" <sukvg@wspu.microsoft.com>
Subject: The extent of <nofill> and other text/enriched nitpicks
References: <BMSMTP82390751960tcrowley@vermeer>
Mime-Version: 1.0 (NeXT Mail 3.3risc v143)
Content-Type: text/plain
X-Listprocessor-Version: 8.0(beta) -- ListProcessor by CREN
> While working on BBN/Slate, a multimedia mail system of CMU's Andrew's > ilk, I tried to implement text/richtext input/output converters. I found > that 1) it had many Andrew-based predjudices in its text model that did > not jibe with the model in either Slate or your typical Mac/Windows simple > text processor and 2) there was an amazing amount of implied semantics > that came out of Andrew's handling of formatting that was not in any way > part of the spec. > [...] > text/enriched is much more tightly specified and much more constrained in > the kind of markup it is trying to provide. Amen. I had exactly the same reflection when writing the text/richtext and text/enriched converters for NeXT's (RTF-based) mail UA. The updated text/enriched spec is much clearer and one thing I'm particularly happy to see explicitly stated is the implied line breaks around paragraph formatting commands like <center>. <nofill> still seems a bit loose, though. In particular, it's not clear to me exactly what the extent of the affected text really is supposed to be. >From the draft-03 spec, it sounds like it will begin immediately after the right bracket in "<nofill>" and continue to immediately before the left bracket in "</nofill>". However, this means that an example like this: -------------------------------- <nofill> aaa bbb </nofill> <nofill> xxx yyy </nofill> -------------------------------- will generate the somewhat surprising: -------------------------------- aaa bbb xxx yyy -------------------------------- since each nofill block will include the CRLF just after <nofill>, the one just before </nofill>, and the double CRLF between the two blocks will generate an extra CRLF too. HTML's <pre> command has a special rule for this. It dictates that any directly adjoining newline to the <pre> command is to be excluded from the affected text. With that rule in effect, you'd get this instead: -------------------------------- aaa bbb xxx yyy -------------------------------- Which is more in tune with the other commands. For example, if you have: -------------------------------- <center> aaa bbb </center> <center> xxx yyy </center> -------------------------------- you currently get: -------------------------------- aaa bbb xxx yyy -------------------------------- if I read the spec right. On a related topic, the rule that makes a single CRLFs turn into a space seems a bit simplistic. For example, this: -------------------------------- first <flushleft> <bold> second </bold> </flushleft> third -------------------------------- will generate this: -------------------------------- first second third -------------------------------- That is, there will be an extra space before both "second" and "third" and maybe one after "first" and "second" too. It would probably be better to borrow an idea from the paragraph commands and say something like "a single CRLF will cause a space to be produced unless it would mean that it would be generated immediately next to another space or newline". My apologies if I misread something in the spec. --Lennart
- Line Wrapping Question Sukvinder Singh Gill (Exchange)
- Re: Line Wrapping Question Donald E. Eastlake 3rd
- RE: Line Wrapping Question Sukvinder Singh Gill (Exchange)
- Re: Line Wrapping Question Valdis.Kletnieks
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question Terry Crowley
- Re: Line Wrapping Question Ned Freed
- RE: Line Wrapping Question Sukvinder Singh Gill (Exchange)
- RE: Line Wrapping Question Ned Freed
- RE: Line Wrapping Question Pete Resnick
- Re: Line Wrapping Question Jamie Zawinski
- Re: Line Wrapping Question John W. Noerenberg
- Re: Line Wrapping Question Jamie Zawinski
- Re: Line Wrapping Question Terry Crowley
- Using Quoted-Printable (Re: Line Wrapping Questio… Harald.T.Alvestrand
- Re: Line Wrapping Question Jim Conklin
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question John W. Noerenberg
- Re: Line Wrapping Question Barton E. Schaefer
- Re: Line Wrapping Question Larry Masinter
- Re: Line Wrapping Question Lennart Lovstrand
- Re: Line Wrapping Question Larry Masinter
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question Pete Resnick
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question Terry Crowley
- Re: Line Wrapping Question Jim Conklin
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question Ned Freed
- Re: Line Wrapping Question Terry Crowley
- Re: Line Wrapping Question Terry Crowley
- The extent of <nofill> and other text/enriched ni… Lennart Lovstrand
- Re: The extent of <nofill> and other text/enriche… Pete Resnick