Thread View: news.software.nntp
36 messages
36 total messages
Started by Tim
Sat, 14 Feb 2015 21:18
Non-standard 'From' fields
Author: Tim
Date: Sat, 14 Feb 2015 21:18
Date: Sat, 14 Feb 2015 21:18
20 lines
1927 bytes
1927 bytes
I've noticed that quite a lot of (mostly older) news and e-mail clients create 'From', 'To' and similar header fields which do not conform to the usual RFC822 standard (or the extended RFC2822 standard). These fields consist of the e-mail address alone, then a space followed by the friendly name inside parentheses. Here's an example: From: jones@group.org (George Jones) Most news and email client software is able to parse this format without any problem, but I can find no formal definition of it in any rfc or other documentation. Some of the examples in RFC976 include this format, but it is not defined therein. Where does this format originate from? Is there a formal definition of it anywhere, to enable me to create a robust parser to detect and handle it?
Re: Non-standard 'From' fields
Author: Richard Kettlewell
Date: Sat, 14 Feb 2015 22:13
Date: Sat, 14 Feb 2015 22:13
16 lines
1886 bytes
1886 bytes
Tim <tim@nospam.invalid> writes: > I've noticed that quite a lot of (mostly older) news and e-mail > clients create 'From', 'To' and similar header fields which do not > conform to the usual RFC822 standard (or the extended RFC2822 > standard). > > These fields consist of the e-mail address alone, then a space > followed by the friendly name inside parentheses. Here's an example: > > From: jones@group.org (George Jones) Which bit do you think is not RFC822? -- http://www.greenend.org.uk/rjk/
Re: Non-standard 'From' fields
Author: Russ Allbery
Date: Sun, 15 Feb 2015 00:27
Date: Sun, 15 Feb 2015 00:27
40 lines
2963 bytes
2963 bytes
Tim <tim@nospam.invalid> writes:
> Is there a formal definition of it anywhere, to enable me to create a
> robust parser to detect and handle it?
It's defined in RFC 1036, but RFC 1036 is not, in general, rather formal.
It does explain the background, though.
RFC-822 specifies that all text in parentheses is to be interpreted
as a comment. It is common in Internet mail to place the full name
of the user in a comment at the end of the "From" line. This
standard specifies a more rigid syntax. The full name is not
considered a comment, but an optional part of the header line.
Either the full name is omitted, or it appears in parentheses after
the electronic address of the person posting the message, or it
appears before an electronic address which is enclosed in angle
brackets. Thus, the three permissible forms are:
From: mark@cbosgd.ATT.COM
From: mark@cbosgd.ATT.COM (Mark Horton)
From: Mark Horton <mark@cbosgd.ATT.COM>
Full names may contain any printing ASCII characters from space
through tilde, except that they may not contain "(" (left
parenthesis), ")" (right parenthesis), "<" (left angle bracket), or
">" (right angle bracket). Additional restrictions may be placed on
full names by the mail standard, in particular, the characters ","
(comma), ":" (colon), "@" (at), "!" (bang), "/" (slash), "="
(equal), and ";" (semicolon) are inadvisable in full names.
That format, where the name is expressed in a comment, is quite old. I
suspect it predates RFC 822. It is legal RFC 822 syntax, although
syntactically it just has a comment, with nothing to indicate (in formal
syntax) that the comment is a name.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Non-standard 'From' fields
Author: Tim
Date: Sun, 15 Feb 2015 10:14
Date: Sun, 15 Feb 2015 10:14
30 lines
2388 bytes
2388 bytes
On Sat, 14 Feb 2015 16:27:19 -0800, Russ Allbery <eagle@eyrie.org> wrote: >Tim <tim@nospam.invalid> writes: > >> Is there a formal definition of it anywhere, to enable me to create a >> robust parser to detect and handle it? > >It's defined in RFC 1036, but RFC 1036 is not, in general, rather formal. >It does explain the background, though. Thanks Russ - this is excellent. I had missed that reference in RFC1036. >That format, where the name is expressed in a comment, is quite old. I >suspect it predates RFC 822. It is legal RFC 822 syntax, although >syntactically it just has a comment, with nothing to indicate (in formal >syntax) that the comment is a name. Hmmm, yes. I wonder if RFC822 defined parentheses as comment delimiters because this format was already widespread. Sounds like the only really 'robust' way to deal with this is to just treat it as RFC822 and ignore all the text between and including the parentheses and just use the e-mail address, but it would be nice to be extract the user name if present. Some thought required I think! Thanks. Tim.
Re: Non-standard 'From' fields
Author: VanguardLH
Date: Mon, 16 Feb 2015 01:18
Date: Mon, 16 Feb 2015 01:18
32 lines
2745 bytes
2745 bytes
Tim wrote: > I've noticed that quite a lot of (mostly older) news and e-mail > clients create 'From', 'To' and similar header fields which do not > conform to the usual RFC822 standard (or the extended RFC2822 > standard). > > These fields consist of the e-mail address alone, then a space > followed by the friendly name inside parentheses. Here's an example: > > From: jones@group.org (George Jones) > > Most news and email client software is able to parse this format > without any problem, but I can find no formal definition of it in any > rfc or other documentation. Some of the examples in RFC976 include > this format, but it is not defined therein. > > Where does this format originate from? Is there a formal definition of > it anywhere, to enable me to create a robust parser to detect and > handle it? Usenet uses the same "Internet Message Format" standard (RFC822 obsoleted up to RFC5322) as used for e-mail. It's a standard messaging format usable to any communications venue or messaging protocol. http://www.rfc-editor.org/info/rfc5322 3.2.2. Folding White Space and Comments strings of characters that are treated as comments may be included in structured field bodies as characters enclosed in parentheses. and Strings of characters enclosed in parentheses are considered comments so long as they do not appear within a "quoted-string"
Re: Non-standard 'From' fields
Author: Julien ÉLIE
Date: Thu, 26 Mar 2015 18:31
Date: Thu, 26 Mar 2015 18:31
76 lines
4519 bytes
4519 bytes
Hi Tim,
>>> Is there a formal definition of it anywhere, to enable me to create a
>>> robust parser to detect and handle it?
>
> I had missed that reference in RFC1036.
I also suggest to have a look at RFC1849, also called "Son of 1036".
Though it does not explain the origin of the syntax, it gives you a hint
to detect the address:
5.2. From
NOTE: The syntax here is a restricted subset of the MAIL From
syntax, with quoting particularly restricted, for simple parsing.
In particular, the presence of "<" in the From content indicates
that the second form is being used; otherwise, the first form is
being used. The major restrictions here are those already de
facto imposed by existing software.
NOTE: Overly lenient posting agents sometimes permit the second
form with a full name containing "(" or ")", but it is extremely
rare for a full name to contain "<" or ">", even in mail.
Accordingly, reading agents wishing to robustly determine which
form is in use in a particular article should key on the presence
or absence of "<", not the presence or absence of "(".
Other interesting parts:
From-content = address [ space "(" paren-phrase ")" ]
/ [ plain-phrase space ] "<" address ">"
The full name is
distinguished from the electronic address either by enclosing the
former in parentheses (making it resemble a MAIL comment, after the
address) or by enclosing the latter in angle brackets. The second
form is preferred. In the first form, encoded words inside the full
name MUST be composed entirely of <paren-char>s. In the second form,
encoded words inside the full name may not contain characters other
than letters (of either case), digits, and the characters "!", "*",
"+", "-", "/", "=", and "_". The local part is case-sensitive
(except that all case counterparts of "postmaster" are deemed
equivalent), the domain is case-insensitive, and all other parts of
the From content are comments that MUST be ignored by news software
(except insofar as reading agents may wish to display them to the
reader). Posters and posting agents MUST restrict themselves to this
subset of the MAIL From syntax; relayers MAY accept a broader subset,
but see the discussion in Section 9.1.
You will also find a documentation of a very obsolete form of this header:
A.2. Early "B News" Article Format
This obsolete pseudo-Internet article format, used briefly during the
transition between the A News format and the modern format, followed
the general outline of a MAIL message but with some non-standard
headers. For example:
From: cbosgd!mhuxj!mhuxt!eagle!jerry (Jerry Schwarz)
The From header contained the information now found in the Path
header, plus possibly the full name now typically found in the From
header.
--
Julien ÉLIE
« Mais dis à ton ami qu'il cesse de jeter notre argent par les
écoutilles ! » (Astérix)
Re: Non-standard 'From' fields
Author: Adam H. Kerman
Date: Thu, 26 Mar 2015 19:34
Date: Thu, 26 Mar 2015 19:34
19 lines
1831 bytes
1831 bytes
Julien ELIE <iulius@nom-de-mon-site.com.invalid> wrote: >Hi Tim, >>>>Is there a formal definition of it anywhere, to enable me to create a >>>>robust parser to detect and handle it? >>I had missed that reference in RFC1036. >I also suggest to have a look at RFC1849, also called "Son of 1036". Hah! Grandson-of Son-of was the draft, work on which was dropped for years. >Though it does not explain the origin of the syntax, it gives you a hint >to detect the address: Interesting information.
Re: Non-standard 'From' fields
Author: Julien ÉLIE
Date: Thu, 26 Mar 2015 20:43
Date: Thu, 26 Mar 2015 20:43
18 lines
1934 bytes
1934 bytes
Hi Adam,
>> I also suggest to have a look at RFC1849, also called "Son of 1036".
>
> Hah! Grandson-of
>
> Son-of was the draft, work on which was dropped for years.
Isn't RFC5536 Grandson of 1036?
I am speaking about RFC1849, that is based upon the last distributed
version of Son of 1036 (2 June 1994):
https://tools.ietf.org/html/rfc1849
--
Julien ÉLIE
« Ave César, lucratori te salutant. » (Astérix)
Re: Non-standard 'From' fields
Author: Adam H. Kerman
Date: Thu, 26 Mar 2015 21:47
Date: Thu, 26 Mar 2015 21:47
21 lines
2004 bytes
2004 bytes
Julien ELIE <iulius@nom-de-mon-site.com.invalid> wrote: >Hi Adam, >>>I also suggest to have a look at RFC1849, also called "Son of 1036". >>Hah! Grandson-of >>Son-of was the draft, work on which was dropped for years. >Isn't RFC5536 Grandson of 1036? You're right; my error. >I am speaking about RFC1849, that is based upon the last distributed >version of Son of 1036 (2 June 1994): > https://tools.ietf.org/html/rfc1849 Whenever I read Henry Spencer's work, it was always in draft form, maintained on his university account. Till you pointed it out, I had no idea it was ever assigned an RFC number so long after the fact.
Re: Non-standard 'From' fields
Author: Russ Allbery
Date: Fri, 27 Mar 2015 02:06
Date: Fri, 27 Mar 2015 02:06
20 lines
2007 bytes
2007 bytes
"Adam H. Kerman" <ahk@chinet.com> writes:
> Julien ELIE <iulius@nom-de-mon-site.com.invalid> wrote:
>> I am speaking about RFC1849, that is based upon the last distributed
>> version of Son of 1036 (2 June 1994):
>> https://tools.ietf.org/html/rfc1849
> Whenever I read Henry Spencer's work, it was always in draft form,
> maintained on his university account. Till you pointed it out, I had no
> idea it was ever assigned an RFC number so long after the fact.
Yeah, it happened relatively recently, after most (all? I forget) of the
USEFOR work. People kept citing it, and it seemed stupid for it to not be
available somewhere canonical to be easily cited.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Non-standard 'From' fields
Author: Michael Baeuerle
Date: Fri, 27 Mar 2015 11:23
Date: Fri, 27 Mar 2015 11:23
58 lines
3722 bytes
3722 bytes
Tim wrote: > > I've noticed that quite a lot of (mostly older) news and e-mail > clients create 'From', 'To' and similar header fields which do not > conform to the usual RFC822 standard (or the extended RFC2822 > standard). > > These fields consist of the e-mail address alone, then a space > followed by the friendly name inside parentheses. Here's an example: > > From: jones@group.org (George Jones) > > Most news and email client software is able to parse this format > without any problem, but I can find no formal definition of it in any > rfc or other documentation. Some of the examples in RFC976 include > this format, but it is not defined therein. > > Where does this format originate from? Is there a formal definition of > it anywhere, to enable me to create a robust parser to detect and > handle it? AFAIK this format was first defined in RFC850 [1]: | | RFC 822 specifies that all text in parentheses is to be | interpreted as a comment. It is common in ARPANET mail to | place the full name of the user in a comment at the end of | the From line. This standard specifies a more rigid | syntax. The full name is not considered a comment, but an | optional part of the header line. Either the full name is | omitted, or it appears in parentheses after the electronic | address of the person posting the article, or it appears | before an electronic address enclosed in angle brackets. | Thus, the three permissible forms are: | | From: mark@cbosgd.UUCP | From: mark@cbosgd.UUCP (Mark Horton) | From: Mark Horton <mark@cbosgd.UUCP> The current standard for USENET articles is RFC5536 [2] and specify it this way: | | from = "From:" SP mailbox-list CRLF with 'mailbox-list' as defined in RFC5322 (the current evolution of RFC822). So the special syntax with the redefined comment is no longer allowed for USENET articles. A RFC5536 compliant parser discards the comment with the "full name". Because the old format from RFC850 is still in common use for USENET articles, for flnews I have implemented a RFC5536 parser with a converter [3] in front of it: If the old RFC850 format is detected, it is first converted to the current format and the result is processed by the RFC5536 based header parser. ______________ [1] <http://tools.ietf.org/html/rfc850#section-2.1.3> [2] <http://tools.ietf.org/html/rfc5536#section-3.1.2> [3] <http://micha.freeshell.org/flnews/doc/html/core_8c_source.html#l00329>
Re: Non-standard 'From' fields
Author: Russ Allbery
Date: Fri, 27 Mar 2015 22:16
Date: Fri, 27 Mar 2015 22:16
30 lines
2375 bytes
2375 bytes
Michael Baeuerle <michael.baeuerle@stz-e.de> writes:
> The current standard for USENET articles is RFC5536 [2] and specify it
> this way:
> |
> | from = "From:" SP mailbox-list CRLF
> with 'mailbox-list' as defined in RFC5322 (the current evolution of
> RFC822). So the special syntax with the redefined comment is no longer
> allowed for USENET articles. A RFC5536 compliant parser discards the
> comment with the "full name".
Not allowed is a little strong in the sense that it's a syntactically
valid from header in RFC5536. It's just that it loses information, since
the comment is just a comment.
> Because the old format from RFC850 is still in common use for USENET
> articles, for flnews I have implemented a RFC5536 parser with a
> converter [3] in front of it: If the old RFC850 format is detected, it is
> first converted to the current format and the result is processed by the
> RFC5536 based header parser.
Yup, that's what I'd do too. Basically, if you have a bare email address
and one comment, assume the contents of the comment is actually a name.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Non-standard 'From' fields
Author: Richard Tobin
Date: Fri, 27 Mar 2015 22:32
Date: Fri, 27 Mar 2015 22:32
17 lines
1838 bytes
1838 bytes
In article <87y4mikrxa.fsf@hope.eyrie.org>, Russ Allbery <eagle@eyrie.org> wrote: >> with 'mailbox-list' as defined in RFC5322 (the current evolution of >> RFC822). So the special syntax with the redefined comment is no longer >> allowed for USENET articles. A RFC5536 compliant parser discards the >> comment with the "full name". >Not allowed is a little strong in the sense that it's a syntactically >valid from header in RFC5536. It's just that it loses information, since >the comment is just a comment. What requires the system to "discard" the comment and "lose" the information? Surely you can just re-use the comment, without even explicitly assuming that it's a name. -- Richard
Re: Non-standard 'From' fields
Author: Russ Allbery
Date: Sat, 28 Mar 2015 02:40
Date: Sat, 28 Mar 2015 02:40
31 lines
2615 bytes
2615 bytes
richard@cogsci.ed.ac.uk (Richard Tobin) writes:
> Russ Allbery <eagle@eyrie.org> wrote:
>>> with 'mailbox-list' as defined in RFC5322 (the current evolution of
>>> RFC822). So the special syntax with the redefined comment is no longer
>>> allowed for USENET articles. A RFC5536 compliant parser discards the
>>> comment with the "full name".
>> Not allowed is a little strong in the sense that it's a syntactically
>> valid from header in RFC5536. It's just that it loses information,
>> since the comment is just a comment.
> What requires the system to "discard" the comment and "lose" the
> information? Surely you can just re-use the comment, without even
> explicitly assuming that it's a name.
Right, but that loses information. In the old syntax, you know that the
comment after the email address in that syntax is expected to convey a
name. In RFC 5536 syntax, it's just a comment, with no special meaning
and no special purpose. In order to know that you should probably treat
it as equivalent to the name part in front of the address in the newer
syntax, you have to bring outside knowledge that's not expressed in the
RFC 5536 syntax. Or, put another way, strict parsing assuming only the
RFC 5536 syntax loses the information that this specific comment is
special.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Non-standard 'From' fields
Author: Adam H. Kerman
Date: Sat, 28 Mar 2015 05:42
Date: Sat, 28 Mar 2015 05:42
35 lines
2940 bytes
2940 bytes
Russ Allbery <eagle@eyrie.org> wrote: >Michael Baeuerle <michael.baeuerle@stz-e.de> writes: >>The current standard for USENET articles is RFC5536 [2] and specify it >>this way: >>| >>| from = "From:" SP mailbox-list CRLF >>with 'mailbox-list' as defined in RFC5322 (the current evolution of >>RFC822). So the special syntax with the redefined comment is no longer >>allowed for USENET articles. A RFC5536 compliant parser discards the >>comment with the "full name". >Not allowed is a little strong in the sense that it's a syntactically >valid from header in RFC5536. It's just that it loses information, since >the comment is just a comment. There's section 3.2.2 in RFC 5322 on how to structure a comment. The comment would be retained. Where's the information loss? If it is a name, it's readable by the reader of the Usenet article. We're not trying to capture information for a database (unless we're an address harvester). >>Because the old format from RFC850 is still in common use for USENET >>articles, for flnews I have implemented a RFC5536 parser with a >>converter [3] in front of it: If the old RFC850 format is detected, it is >>first converted to the current format and the result is processed by the >>RFC5536 based header parser. >Yup, that's what I'd do too. Basically, if you have a bare email address >and one comment, assume the contents of the comment is actually a name. What if it really was a comment? I don't see any harm to Usenet or any benefit to the author in making assumptions and translating into a different format.
Re: Non-standard 'From' fields
Author: michael.baeuerle my name my mail...
Date: Sat, 28 Mar 2015 11:21
Date: Sat, 28 Mar 2015 11:21
74 lines
4496 bytes
4496 bytes
Adam H. Kerman wrote: > Russ Allbery wrote: > > Michael Baeuerle writes: > > > > > > The current standard for USENET articles is RFC5536 [2] and specify it > > > this way: > > > | > > > | from = "From:" SP mailbox-list CRLF > > > > > > with 'mailbox-list' as defined in RFC5322 (the current evolution of > > > RFC822). So the special syntax with the redefined comment is no longer > > > allowed for USENET articles. A RFC5536 compliant parser discards the > > > comment with the "full name". > > > > Not allowed is a little strong in the sense that it's a syntactically > > valid from header in RFC5536. It's just that it loses information, since > > the comment is just a comment. > > There's section 3.2.2 in RFC 5322 on how to structure a comment. The > comment would be retained. Where's the information loss? The content of the comment is no longer defined as "full name" (can contain arbitrary data). The normal purpose of comments are human readable hints at protocol level (not part of the payload). The exception in RFC850 was an abuse of the comment. > If it is a > name, it's readable by the reader of the Usenet article. We're not trying > to capture information for a database (unless we're an address harvester). > > > > Because the old format from RFC850 is still in common use for USENET > > > articles, for flnews I have implemented a RFC5536 parser with a > > > converter [3] in front of it: If the old RFC850 format is detected, it is > > > first converted to the current format and the result is processed by the > > > RFC5536 based header parser. > > > > Yup, that's what I'd do too. Basically, if you have a bare email address > > and one comment, assume the contents of the comment is actually a name. > > What if it really was a comment? > > I don't see any harm to Usenet or any benefit to the author in > making assumptions and translating into a different format. There are no assumptions required. The current format can be identified via the angle brackets of the address. If there are no angle brackets, there can be no full name. Guessing the meaning of the undefined content in comments will require assumtions instead. Therefore a standard compliant RFC5536 parser should find no "full name" in an address with RFC850 format. My converter explicitly declares the content of the comment as the "full name" and feed the result of this declaration into the parser (that otherwise would detect the mailbox-list only). Note that the mailbox-list itself is allowed to contain comments and folding: | | From: some.name (not my name) | @domain.invalid (registered by me) | (Full name) (garbage) should be valid syntax according to RFC5322. It is noted that you "SHOULD NOT" send such things, but the parser of the recipient must understand them (should report the mailbox "some.name@domain.invalid" and no "full name" in this case) I will try to manually edit the "From:" header field of this article for demonstration. -- Sorry, aber mit der Einstellung würden wir heute aus Sicherheitsgründen noch auf dem Baum sitzen. Wer etwas Neues schaffen will, muß auch was wagen - aber da heute Kinder schon zu Fuß mit Helm rumlaufen gilt das wohl nicht mehr... [Eric Brücklmeier in dse]
Re: Non-standard 'From' fields
Author: Adam H. Kerman
Date: Sat, 28 Mar 2015 16:47
Date: Sat, 28 Mar 2015 16:47
121 lines
7054 bytes
7054 bytes
my name) @gmx.net (my mailbox provider) (Not my full name <michael.baeuerle> wrote: >Adam H. Kerman wrote: >>Russ Allbery wrote: >>>Michael Baeuerle writes: >>>>The current standard for USENET articles is RFC5536 [2] and specify it >>>>this way: >>>>| >>>>| from = "From:" SP mailbox-list CRLF >>>>with 'mailbox-list' as defined in RFC5322 (the current evolution of >>>>RFC822). So the special syntax with the redefined comment is no longer >>>>allowed for USENET articles. A RFC5536 compliant parser discards the >>>>comment with the "full name". >>>Not allowed is a little strong in the sense that it's a syntactically >>>valid from header in RFC5536. It's just that it loses information, since >>>the comment is just a comment. >>There's section 3.2.2 in RFC 5322 on how to structure a comment. The >>comment would be retained. Where's the information loss? >>If it is a name, it's readable by the reader of the Usenet article. We're >>not trying to capture information for a database (unless we're an >>address harvester). >The content of the comment is no longer defined as "full name" (can >contain arbitrary data). The normal purpose of comments are human >readable hints at protocol level (not part of the payload). The >exception in RFC850 was an abuse of the comment. "Abuse of the comment" is nonsense. RFC850 didn't create the practice. It inherited it from Mail format and a practice on ARPANET of putting one's full name in a comment. It's stated right there in RFC850 why it was done. You know, standards tend to be written to accomodate current practice, so that's what happened at the time. With three decades of hindsight, golly, maybe RFC850 should have treated it like a comment as is the current practice, but it didn't break anything not to treat it like a comment. Someone else did the work and second guessing them today isn't helpful. But I certainly object to parsing it, then re-writing it. Full name in parentheses doesn't break anything, so leave it alone. I love your own complete abuse of syntax on From. Folding white space before the "@" symbol? Really? Multiple comments in multiple sets of parentheses? Nice demonstration of absurdity there. I'm afraid trn4's parser wasn't written to handle cutesy-pie posters overwhelming their From headers with that much garbage, so I'm posting this followup with a mal-formed attribution line. >>>>Because the old format from RFC850 is still in common use for USENET >>>>articles, for flnews I have implemented a RFC5536 parser with a >>>>converter [3] in front of it: If the old RFC850 format is detected, it is >>>>first converted to the current format and the result is processed by the >>>>RFC5536 based header parser. >>>Yup, that's what I'd do too. Basically, if you have a bare email address >>>and one comment, assume the contents of the comment is actually a name. >>What if it really was a comment? >>I don't see any harm to Usenet or any benefit to the author in >>making assumptions and translating into a different format. >There are no assumptions required. There is an assumption required, which is what is being discussed: The author is using deprecated syntax to state his full name and isn't making a comment. You have just demonstrated why making such assumptions are unsafe, because some author deliberately trying to break parsing whilst trying to claim that what he's put on From isn't nonstandard, when clearly, he violated a SHOULD NOT without having a valid reason to do so. (I'll take your word for it that you're violating a SHOULD NOT; didn't bother to check.) >The current format can be identified via the angle brackets of the >address. If there are no angle brackets, there can be no full name. We're not discussing that, are we. We're discussing whether it's safe to make assumptions about what's in parentheses and whether to assume the deprecated format was used. >Guessing the meaning of the undefined content in comments will require >assumtions instead. Making that assumption would contradict your statement, quoted above, that there are no assumptions required. >Therefore a standard compliant RFC5536 parser should find no "full name" >in an address with RFC850 format. >My converter explicitly declares the content of the comment as the >"full name" and feed the result of this declaration into the parser >(that otherwise would detect the mailbox-list only). There's no reason to do anything with it. There's no reason to parse it for the deprecated format. Just leave it be. It won't break anything if left alone, so leave it be. Leave it to the reader to decide for himself if it's a full name or a comment. >Note that the mailbox-list itself is allowed to contain comments and >folding: >| >| From: some.name (not my name) >| @domain.invalid (registered by me) >| (Full name) (garbage) >should be valid syntax according to RFC5322. It is noted that you >"SHOULD NOT" send such things, but the parser of the recipient must >understand them (should report the mailbox "some.name@domain.invalid" >and no "full name" in this case) >I will try to manually edit the "From:" header field of this article for >demonstration. Dear gawd. Why do you take it upon yourself to waste the time of programmers who are trying their best NOT to break things? No one should have to write a parser to accomodate this nonsense.
Re: Non-standard 'From' fields
Author: Michael Baeuerle
Date: Sun, 29 Mar 2015 12:07
Date: Sun, 29 Mar 2015 12:07
190 lines
9762 bytes
9762 bytes
Adam H. Kerman wrote: > my name) @gmx.net (my mailbox provider) (Not my full name <michael.baeuerle> wrote: > > Adam H. Kerman wrote: > > > Russ Allbery wrote: > > > > > > > > [RFC5536 no longer allows full name in comment] > > > > Not allowed is a little strong in the sense that it's a syntactically > > > > valid from header in RFC5536. It's just that it loses information, since > > > > the comment is just a comment. > > > > > > There's section 3.2.2 in RFC 5322 on how to structure a comment. The > > > comment would be retained. Where's the information loss? > > > > > > If it is a name, it's readable by the reader of the Usenet article. We're > > > not trying to capture information for a database (unless we're an > > > address harvester). > > > > The content of the comment is no longer defined as "full name" (can > > contain arbitrary data). The normal purpose of comments are human > > readable hints at protocol level (not part of the payload). The > > exception in RFC850 was an abuse of the comment. > > "Abuse of the comment" is nonsense. RFC850 didn't create the practice. It > inherited it from Mail format and a practice on ARPANET of putting one's > full name in a comment. It's stated right there in RFC850 why it was done. Yes, the reason was to formalize a common practice at the time. But it was only done for USENET, for e-mail it was not formally specified like this. RFC822 from 1982 only specify an addr-spec or a mailbox (with full name in angle brackets). > You know, standards tend to be written to accomodate current practice, > so that's what happened at the time. With three decades of hindsight, > golly, maybe RFC850 should have treated it like a comment as is the current > practice, but it didn't break anything not to treat it like a comment. > Someone else did the work and second guessing them today isn't helpful. As I read it (as a too young person to judge) full name in comment was considered a legacy already at that time. Otherwise I would expect to find the same exception in RFC822 (on which RFC850 is based). But there I only find the definition of structured header fields intended for lexical analysis that evolved to RFC5322. And an example similar to mine [1]. > But I certainly object to parsing it, then re-writing it. Full name > in parentheses doesn't break anything, so leave it alone. If I leave it alone, the RFC5536 parser will ignore it (an older one too). RFC822 specify: | | [comments] will be ignored by the formal semantics. RFC5322 specify: | | Runs of FWS, comment, or CFWS that occur between lexical tokens in a | structured header field are semantically interpreted as a single space | character. Therefore a newsreader have 2 options: a) Use a parser Then in the resulting object all information in comments is gone if the parser is compliant to current standards b) Use raw data This is no longer an option in the MIME era If you really consider b), then please take a look at this group: <news:de.comp.os.unix.linux.misc> Every second full name and subject contains encoded words. Some of them base64 encoded. Viewing or citing this in raw mode will create eye cancer. > I love your own complete abuse of syntax on From. Folding white space > before the "@" symbol? Really? Multiple comments in multiple sets of > parentheses? Nice demonstration of absurdity there. It was not my idea. Look at the example in RFC822 [1]. And yes, my name is correctly written "Bäuerle", that means it is impossible to produce a correct introduction line without at least a RFC2047 parser from it (if I would use the correct spelling). The ASCII transcription I currently still use for USENET is only for better compatibility with legacy software. > I'm afraid trn4's parser wasn't written to handle cutesy-pie posters > overwhelming their From headers with that much garbage, so I'm posting this > followup with a mal-formed attribution line. It was only for demonstration what is legal, nobody use it like this in real world. But everyone use MIME in the non-english speaking world. And a standard compliant parser have to understand both. > > > [...] > > > What if it really was a comment? > > > > > > I don't see any harm to Usenet or any benefit to the author in > > > making assumptions and translating into a different format. > > > > There are no assumptions required. > > There is an assumption required, which is what is being discussed: The > author is using deprecated syntax to state his full name and isn't making > a comment. This is what my converter is designed to detect and handle. > You have just demonstrated why making such assumptions are unsafe, because > some author deliberately trying to break parsing whilst trying to claim > that what he's put on From isn't nonstandard, when clearly, he violated > a SHOULD NOT without having a valid reason to do so. (I'll take your word > for it that you're violating a SHOULD NOT; didn't bother to check.) You SHOULD NOT send such things. But a parser nevertheless MUST understand them (as long as the syntax is correct). Remember the robustness principle: - Be conservative in what you send - Be liberal in what you accept An example for the first point is my name in ASCII transcription (avoid MIME syntax even if allowed). An example for the second is my RFC850 converter (accept any correct RFC5536 syntax if possible and some legacy from RFC850 too that will improve compatibility). > > The current format can be identified via the angle brackets of the > > address. If there are no angle brackets, there can be no full name. > > We're not discussing that, are we. We're discussing whether it's safe to > make assumptions about what's in parentheses and whether to assume the > deprecated format was used. That is exactly what my RFC850 converter is used for: Make legacy things work together with the more strict RFC5536 parser. > > Guessing the meaning of the undefined content in comments will require > > assumtions instead. > > Making that assumption would contradict your statement, quoted above, > that there are no assumptions required. Look at where the guessing is done: In the converter, not in the parser. Removing the converter (some time in the future) will reject the legacy syntax. > > Therefore a standard compliant RFC5536 parser should find no "full name" > > in an address with RFC850 format. > > > My converter explicitly declares the content of the comment as the > > "full name" and feed the result of this declaration into the parser > > (that otherwise would detect the mailbox-list only). > > There's no reason to do anything with it. There's no reason to parse it > for the deprecated format. Just leave it be. It won't break anything if > left alone, so leave it be. Leave it to the reader to decide for himself > if it's a full name or a comment. Again, in the MIME era it is *really* no longer an option for an international newsreader to use any header field raw and unparsed, neither for display not for citation (see above). For e-mail it is even worse. Every second message require a recursive MIME multipart parser today (because of nested mutipart content). > > Note that the mailbox-list itself is allowed to contain comments and > > folding: > > | > > | From: some.name (not my name) > > | @domain.invalid (registered by me) > > | (Full name) (garbage) > > > should be valid syntax according to RFC5322. It is noted that you > > "SHOULD NOT" send such things, but the parser of the recipient must > > understand them (should report the mailbox "some.name@domain.invalid" > > and no "full name" in this case) > > > I will try to manually edit the "From:" header field of this article for > > demonstration. > > Dear gawd. Why do you take it upon yourself to waste the time > of programmers who are trying their best NOT to break things? > No one should have to write a parser to accomodate this nonsense. I don't agree. It is valid syntax and therefore *every* parser should understand it (MUST understand it in the strict sense of the standards). What everybody should do is to avoid producing such things in output if possible (send information in the legal format most simple and compatible). _____________ [1] http://tools.ietf.org/html/rfc822#section-3.1.4
Re: Non-standard 'From' fields
Author: Adam H. Kerman
Date: Sun, 29 Mar 2015 17:26
Date: Sun, 29 Mar 2015 17:26
120 lines
6705 bytes
6705 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >Adam H. Kerman wrote: >> my name) @gmx.net (my mailbox provider) (Not my full name ><michael.baeuerle> wrote: >> > Adam H. Kerman wrote: >> > > Russ Allbery wrote: >> > > > >> > > > [RFC5536 no longer allows full name in comment] >> > > > Not allowed is a little strong in the sense that it's a syntactically >> > > > valid from header in RFC5536. It's just that it loses >information, since >> > > > the comment is just a comment. >> > > >> > > There's section 3.2.2 in RFC 5322 on how to structure a comment. The >> > > comment would be retained. Where's the information loss? >> > > >> > > If it is a name, it's readable by the reader of the Usenet article. We're >> > > not trying to capture information for a database (unless we're an >> > > address harvester). >> > >> > The content of the comment is no longer defined as "full name" (can >> > contain arbitrary data). The normal purpose of comments are human >> > readable hints at protocol level (not part of the payload). The >> > exception in RFC850 was an abuse of the comment. >> >> "Abuse of the comment" is nonsense. RFC850 didn't create the practice. It >> inherited it from Mail format and a practice on ARPANET of putting one's >> full name in a comment. It's stated right there in RFC850 why it was done. >Yes, the reason was to formalize a common practice at the time. But it >was only done for USENET, for e-mail it was not formally specified like >this. RFC822 from 1982 only specify an addr-spec or a mailbox (with >full name in angle brackets). I'm not in the mood to clean up the mess you made of the quotes characters right now as I did before. Could you stop doing that? The guidelines in USEFOR for quote levels (which don't recommend "> " for each level) are adequate, so why not follow them? It's not the only difference between article format and message format. Usenet article format has long required that the header field and header label be separated by ":" and mandatory white space; in Mail message format, white space after the colon but before the header field is optional. There's also the convention (it wasn't standardized till decades later) of using the References header in an article, but the comparable Mail header field would have been In-Reply-To. So the current standard encourages redundant use of both headers to accomodate Mail-to-News gateways and some attempt at threading discussions from mailing lists. Practices diverge. >> You know, standards tend to be written to accomodate current practice, >> so that's what happened at the time. With three decades of hindsight, >> golly, maybe RFC850 should have treated it like a comment as is the current >> practice, but it didn't break anything not to treat it like a comment. >> Someone else did the work and second guessing them today isn't helpful. >As I read it (as a too young person to judge) full name in comment was >considered a legacy already at that time. I agree with that interpretation. >Otherwise I would expect to find the same exception in RFC822 (on which >RFC850 is based). But there I only find the definition of structured >header fields intended for lexical analysis that evolved to RFC5322. And >an example similar to mine [1]. I don't know the historical explanation. The Usenet RFC didn't make too many changes from the previous one, and why it felt it was necessary to formalize the deprecated Full Name format while the Mail RFC tried to encourage a new format is odd. >> But I certainly object to parsing it, then re-writing it. Full name >> in parentheses doesn't break anything, so leave it alone. >If I leave it alone, the RFC5536 parser will ignore it (an older one >too). RFC822 specify: >| >| [comments] will be ignored by the formal semantics. >RFC5322 specify: >| >| Runs of FWS, comment, or CFWS that occur between lexical tokens in a >| structured header field are semantically interpreted as a single space >| character. >Therefore a newsreader have 2 options: >a) Use a parser > Then in the resulting object all information in comments is gone > if the parser is compliant to current standards >b) Use raw data > This is no longer an option in the MIME era >If you really consider b), then please take a look at this group: ><news:de.comp.os.unix.linux.misc> >Every second full name and subject contains encoded words. Some of them >base64 encoded. Viewing or citing this in raw mode will create eye >cancer. If I have entirely misunderstood, then I apologize to you. I thought you were arguing that the From header be re-written by the injecting News server, not by the user's client newsreader. If it's the latter, then never mind and I withdraw my objections. >It was only for demonstration what is legal, nobody use it like this >in real world. But everyone use MIME in the non-english speaking >world. And a standard compliant parser have to understand both. Thank goodness it's not meant for real world use. I'll withdraw that objection as well. I'm going to withdraw any remaining objections. You get the last word on the rest of it. I'm shutting the fuck up now. Just please fix your use of whitespace between quote characters; it's annoying.
Quoting style (was: Non-standard 'From' fields)
Author: Michael Baeuerle
Date: Sun, 29 Mar 2015 17:59
Date: Sun, 29 Mar 2015 17:59
16 lines
1683 bytes
1683 bytes
Adam H. Kerman wrote: > >[...] >The guidelines >in USEFOR for quote levels (which don't recommend "> " for each level) >are adequate, so why not follow them? Do you have a link to that document? >[...] >Just please fix your use of whitespace between quote characters; it's >annoying. flnews currently can't produce the quoting style you like. Using your words: "Practices diverge". I have reformatted this article manually for you.
Re: Quoting style
Author: Russ Allbery
Date: Sun, 29 Mar 2015 19:02
Date: Sun, 29 Mar 2015 19:02
24 lines
2157 bytes
2157 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> writes:
> Adam H. Kerman wrote:
>> [...]
>> The guidelines in USEFOR for quote levels (which don't recommend "> "
>> for each level) are adequate, so why not follow them?
> Do you have a link to that document?
I suspect he's talking about:
http://www.eyrie.org/~eagle/usefor/drafts/draft-ietf-usefor-useage-01.txt
Section 3.2.2.1. Note that this document was never published because it
was never driven through to consensus. I think it was originally based on
some documents circulating on news.software.readers at the time. There's
some stuff in there that's common and some stuff in there that's a matter
of opinion, and the document doesn't distinguish all that well.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Quoting style (was: Non-standard 'From' fields)
Author: Adam H. Kerman
Date: Mon, 30 Mar 2015 16:46
Date: Mon, 30 Mar 2015 16:46
36 lines
2821 bytes
2821 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >Adam H. Kerman wrote: >>[...] >>The guidelines >>in USEFOR for quote levels (which don't recommend "> " for each level) >>are adequate, so why not follow them? >Do you have a link to that document? https://tools.ietf.org/html/draft-ietf-usefor-useage-01#section-3.2.2.1 This document is an expired draft, but since Son-Of itself is an expired draft but very influential, it's not like Usenet drafts don't observe or spell out our conventions. Indication of quote level itself is explained in RFC 3676, including quote level indications compatible with both FIXED and FLOWED format. My recollection is that one of the Mail message format RFCs makes the single whitespace between the quote level indicators and start of quoted text a SHOULD or MUST, but I can't remember which one. >>[...] >>Just please fix your use of whitespace between quote characters; it's >>annoying. >flnews currently can't produce the quoting style you like. >Using your words: "Practices diverge". >I have reformatted this article manually for you. Well, it's very strange, then, that flnews has the ability to parse for quote levels I used, recognizing that each ">" indicates a quote level, but having counted the levels and recalculated the number needed in followup, it doesn't output the level as a string of repeated ">" characters.
Re: Quoting style
Author: Michael Baeuerle
Date: Tue, 31 Mar 2015 08:33
Date: Tue, 31 Mar 2015 08:33
22 lines
2386 bytes
2386 bytes
Russ Allbery wrote: > Michael Baeuerle <michael.baeuerle@gmx.net> writes: > > Adam H. Kerman wrote: > > > > > > [...] > > > The guidelines in USEFOR for quote levels (which don't recommend "> " > > > for each level) are adequate, so why not follow them? > > > > Do you have a link to that document? > > I suspect he's talking about: > > http://www.eyrie.org/~eagle/usefor/drafts/draft-ietf-usefor-useage-01.txt > > Section 3.2.2.1. Note that this document was never published because it > was never driven through to consensus. I think it was originally based on > some documents circulating on news.software.readers at the time. There's > some stuff in there that's common and some stuff in there that's a matter > of opinion, and the document doesn't distinguish all that well. Thanks for confirmation. I use the "> " quoting style for over a decade now (because for me ">" looks ugly und mixing will be inconsistent).
Re: Quoting style
Author: Michael Baeuerle
Date: Tue, 31 Mar 2015 09:55
Date: Tue, 31 Mar 2015 09:55
46 lines
3602 bytes
3602 bytes
Adam H. Kerman wrote: >Indication of quote level itself is explained in RFC 3676, including >quote level indications compatible with both FIXED and FLOWED format. flnews strictly follows RFC3676 and avoid to produce "flowed" format (because indeed this would require different quoting). If an article was received with content that is marked "flowed", it is decoded, rewrapped to standard width, requoted with the "> " quoting style (currently the only one supported) and dispayed like this. This is explicitly allowed in [1]: |Logically, all quote marks are counted and deleted, resulting in a |line with a non-zero quote depth, and content. (The agent is of |course free to display the content with quote marks or excerpt bars or |anything else.) I follow this by using "> ". And because the format is never converted back to "flowed" format, only the rules for the "fixed" format (that are not defined by RFC3676) are applied for a reply. For "fixed" format, a similar operation is done when creating a reply (not for display). If e.g. the quoting style is ">> >>", it was changed to the default style "> > > > " to be consistent. BTW: This is the same algorithm that you use to remove the spaces from my articles in the other direction. >My recollection is that one of the Mail message format RFCs makes the >single whitespace between the quote level indicators and start of quoted >text a SHOULD or MUST, but I can't remember which one. flnews was written based on the standards listed in the man page [2]. If one RFC supersedes another, the newer one takes precedence. To my knowledge no current RFC specify it as MUST (except RFC3676, but not for "fixed" format). I have tried hard not to violate any requirement defined as "MUST" from the listed standards, therefore things like the RFC5322 mailbox example are supported [3]. [Quoting style changed manually again] [Fup2 set to news.software.readers because this is not NNTP related] __________________ [1] <http://tools.ietf.org/html/rfc3676#section-4.1> [2] <http://micha.freeshell.org/flnews/doc/flnews.1.html#standards> [3] <http://micha.freeshell.org/tmp/2015-03-29_flnews_parser.png> -- Daylight saving time should be disestablished
Re: Quoting style
Author: Adam H. Kerman
Date: Tue, 31 Mar 2015 14:07
Date: Tue, 31 Mar 2015 14:07
85 lines
5543 bytes
5543 bytes
I'm not posting a followup in news.software.readers, given that you yourself didn't post your followup in news.software.readers. An author abuses Followup-To by attempting to apply rules of topicality to other people but not himself. So if you wish to have this discussion in another newsgroup, either post a root article elsewhere to start a thread, or post an uncrossposted followup there. I'll post my followup in the newsgroup in which the discussion has been taking place. My decision. Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >Adam H. Kerman wrote: >>Indication of quote level itself is explained in RFC 3676, including >>quote level indications compatible with both FIXED and FLOWED format. >flnews strictly follows RFC3676 and avoid to produce "flowed" format >(because indeed this would require different quoting). So what? It's an absolute minimal standard; that's not an achievement. It's like stating that your spelling is standard because you use characters that are recognizeable as alphabetical characters. Still, Google Groups and all other Web-to-News interfaces are highly likely to break it. Quoting correctly is convention, not standard. Point is not to break quoting for everyone else, which is what you do. Furthermore, I've never seen anyone like you that uses unconventional style to indicate quote depth fix quoted attribution lines so the quote depth matches (although an attribution line has one less quote depth indicator than the quoted text, except for one idiot's attribution line style). This is clear evidence that you're doing what you're doing because it's what you want to do, and you're not thinking about the reader. >If an article was received with content that is marked "flowed", it is >decoded, rewrapped to standard width, requoted with the "> " quoting >style (currently the only one supported) and dispayed like this. >This is explicitly allowed in [1]: >|Logically, all quote marks are counted and deleted, resulting in a >|line with a non-zero quote depth, and content. (The agent is of >|course free to display the content with quote marks or excerpt bars or >|anything else.) >I follow this by using "> ". Wrong. You're simply refusing to read and understand the rest of the document. In the precursor article, I quoted the relevant portion of the document with its recommendation for indicating quote depth. You're not following its recommendations. You don't get to pick and choose from an RFC whilst claiming to follow it "strictly". >And because the format is never converted back to "flowed" format, >only the rules for the "fixed" format (that are not defined by RFC3676) >are applied for a reply. Who says quotes are never output as flowed text where appropriate? Are you declaring yourself the moderator of the author of every single followup News article to be posted to Usenet? I won't use flowed text myself because I've unconvinced about any newsreader's ability to parse and generate flowed text; I've had many many discussions about this over the years on Usenet. However, if someone wished to generate flowed text from my fixed format, they'd have no difficulty at all. My paragraphs are consists, lines followed by a blank line, all at the left margin. I even ensure blank lines between paragraphs within text I quote because there's no other universally accepted definition of a paragraph. >For "fixed" format, a similar operation is done when creating a reply >(not for display). If e.g. the quoting style is ">> >>", it was >changed to the default style "> > > > " to be consistent. That's not a "style" but an ugly mess; please. Anyway, an ugly mess is why it's harmful to the reader. It takes longer for the eye to understand what quote level is indicated with the interstitial spaces among the quote characters. Your parser is irrelevant. We're discussing the reader. >BTW: This is the same algorithm that you use to remove the spaces from >my articles in the other direction. Yeah, well, it's not impossible that ">" isn't a quote character. The RFC addresses that possibility.
Re: Quoting style
Author: Russ Allbery
Date: Wed, 01 Apr 2015 03:23
Date: Wed, 01 Apr 2015 03:23
48 lines
3679 bytes
3679 bytes
I'm not sure that I should be bothering with this, as this has all the
hallmarks of one of the random bits of bikeshed painting that Usenet
groups mysteriously latch onto and then write tons of words about, but
apparently I felt like joining in.
"Adam H. Kerman" <ahk@chinet.com> writes:
> Wrong. You're simply refusing to read and understand the rest of the
> document. In the precursor article, I quoted the relevant portion of the
> document with its recommendation for indicating quote depth.
> You're not following its recommendations. You don't get to pick and
> choose from an RFC whilst claiming to follow it "strictly".
The document that you're pointing to is not an RFC. It's an expired
Internet-Draft, which in general has about as much standards significance
as a random blog post. Namely, valuable if you find its argument
persuasive, but entirely ignorable if you don't.
I personally like omitting the spaces between consecutive > marks when
quoting just because it reduces the length of the line and makes it less
likely that one will get annoying wrapping artifacts in 80-column
displays, but there are tons of agents that don't bother. I'd call it a
minor quality-of-implementation issue, bordering on personal taste. I
also prefer omitting the quote marks from blank lines, which apparently
drives some people mad but which I consider much more visually appealing.
I doubt people will ever agree on this stuff, since some of it comes down
to a sense of personal aesthetics.
In your previous article, you compared this random draft to Son-of-1036.
That doesn't really work. Son-of-1036 was rather special as an
Internet-Draft, which you can tell by the fact that we bothered to publish
it as an RFC years and years after it was written. It was the best
available document for implementing Usenet software for years prior to
USEFOR, and it was written by one of the most influential and respected
Usenet software authors.
The expired USEAGE draft lacks most of those distinctions. It was a
project that one of the major USEFOR contributors felt strongly about, but
which the group as a whole was not horribly excited about. The working
group ran out of steam and bandwidth long before it got any focused
attention and iteration.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Quoting style
Author: Adam H. Kerman
Date: Wed, 01 Apr 2015 13:00
Date: Wed, 01 Apr 2015 13:00
46 lines
3679 bytes
3679 bytes
Russ Allbery <eagle@eyrie.org> wrote: >I'm not sure that I should be bothering with this, as this has all the >hallmarks of one of the random bits of bikeshed painting that Usenet >groups mysteriously latch onto and then write tons of words about, but >apparently I felt like joining in. >"Adam H. Kerman" <ahk@chinet.com> writes: >>Wrong. You're simply refusing to read and understand the rest of the >>document. In the precursor article, I quoted the relevant portion of the >>document with its recommendation for indicating quote depth. >>You're not following its recommendations. You don't get to pick and >>choose from an RFC whilst claiming to follow it "strictly". >The document that you're pointing to is not an RFC. Wrong. In that particular paragraph, I referred to RFC3676. The OP was claiming to follow its recommendations "strictly", which he wasn't. 3676 recommended a way to indicate quote level to create FORMAT=FLOWED text that would also work for non-flowed text. I objected to his claim that he followed it "strictly", when all he did was pick and choose from it which recommendations to follow. Its MUSTS are extremely broad guidelines and difficult to break, yet Google Groups and every Web to News interface manages to violate them. As far as the draft document, all I said was its recommendations were useful and would make followups more readable to other people. There wouldn't be an internet standard for such a thing, as ruining quotes in a followup won't break a News server. >I personally like omitting the spaces between consecutive > marks when >quoting just because it reduces the length of the line and makes it less >likely that one will get annoying wrapping artifacts in 80-column >displays, but there are tons of agents that don't bother. I'd call it a >minor quality-of-implementation issue, bordering on personal taste. I >also prefer omitting the quote marks from blank lines, which apparently >drives some people mad but which I consider much more visually appealing. >I doubt people will ever agree on this stuff, since some of it comes down >to a sense of personal aesthetics. This is exactly how I like to quote. Like you, I leave a blank line between quoted paragraphs to avoid text wall, but also as a useful aid to parsers making it simpler to obvserve paragraph boundaries.
Re: Quoting style
Author: Doc O'Leary
Date: Wed, 01 Apr 2015 14:43
Date: Wed, 01 Apr 2015 14:43
18 lines
2027 bytes
2027 bytes
For your reference, records indicate that Russ Allbery <eagle@eyrie.org> wrote: > I doubt people will ever agree on this stuff, since some of it comes down > to a sense of personal aesthetics. For that reason, the *display* should certainly be left up to the client, and the standard/recommendation should mainly be regarding how to make it easy to pick out from the reply text. It’s a bonus if the computer has to do less processing to do it, too. Next fight: coding conventions. -- "Also . . . I can kill you with my brain." River Tam, Trash, Firefly
Re: Quoting style
Author: Russ Allbery
Date: Wed, 01 Apr 2015 16:55
Date: Wed, 01 Apr 2015 16:55
16 lines
1850 bytes
1850 bytes
"Adam H. Kerman" <ahk@chinet.com> writes:
> Wrong. In that particular paragraph, I referred to RFC3676. The OP was
> claiming to follow its recommendations "strictly", which he wasn't. 3676
> recommended a way to indicate quote level to create FORMAT=FLOWED text
> that would also work for non-flowed text. I objected to his claim that
> he followed it "strictly", when all he did was pick and choose from it
> which recommendations to follow.
Oh, okay, sorry. I got confused as to what you were talking about there.
--
Russ Allbery (eagle@eyrie.org) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Quoting style
Author: Michael Baeuerle
Date: Wed, 01 Apr 2015 17:21
Date: Wed, 01 Apr 2015 17:21
22 lines
2341 bytes
2341 bytes
Russ Allbery wrote: >"Adam H. Kerman" <ahk@chinet.com> writes: > >> Wrong. In that particular paragraph, I referred to RFC3676. The OP was >> claiming to follow its recommendations "strictly", which he wasn't. 3676 >> recommended a way to indicate quote level to create FORMAT=FLOWED text >> that would also work for non-flowed text. I objected to his claim that >> he followed it "strictly", when all he did was pick and choose from it >> which recommendations to follow. > > Oh, okay, sorry. I got confused as to what you were talking about there. What I had done is to strictly follow all mandatory rules for decoding "flowed" and producing "fixed" format. For "fixed" format not even a recommendation is violated by the current behaviour of my NUA. This is no surprise because RFC3676 only adds specifications and recommendations for "flowed" format and don't change the definition of the "fixed" format. But this discussion has convinced me at least to the point that the user should be able to configure the quoting style. The next version of flnews will have such an option.
Re: Quoting style
Author: Adam H. Kerman
Date: Wed, 01 Apr 2015 17:56
Date: Wed, 01 Apr 2015 17:56
50 lines
3517 bytes
3517 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >Russ Allbery wrote: >>"Adam H. Kerman" <ahk@chinet.com> writes: >>>Wrong. In that particular paragraph, I referred to RFC3676. The OP was >>>claiming to follow its recommendations "strictly", which he wasn't. 3676 >>>recommended a way to indicate quote level to create FORMAT=FLOWED text >>>that would also work for non-flowed text. I objected to his claim that >>>he followed it "strictly", when all he did was pick and choose from it >>>which recommendations to follow. >>Oh, okay, sorry. I got confused as to what you were talking about there. >What I had done is to strictly follow all mandatory rules for decoding >"flowed" and producing "fixed" format. Aargh. The RFC defines plain text; it's a minimal definition. It defines flowed text. It doesn't define fixed format, just that it's the absense of flowed text. It has a recommendation for not producing long lines (which it defines as more than 78 characters including trailing space used to indicate flowed text soft line break within a paragraph) but otherwise doesn't discuss the issue. It doesn't recommend a non-flowed-text quoting style. All I pointed out was that the quoting style recommended for flowed text works for non-flowed text. >For "fixed" format not even a recommendation is violated by the current >behaviour of my NUA. I never stated that you violated a MUST. I objected to your claim of "strictly" as you weren't strictly following its recommendations. RFCs don't and cannot define readability. My comment was on readability. >This is no surprise because RFC3676 only adds specifications and >recommendations for "flowed" format and don't change the definition of >the "fixed" format. Since when had fixed format been defined before flowed format was defined? >But this discussion has convinced me at least to the point that the user >should be able to configure the quoting style. The next version of >flnews will have such an option. I've seen plenty of users use unconventional quote characters like | and : and a few others. That's also annoying and often unparseable. User-defined quoting style tends to suck hugely.
Re: Quoting style
Author: Thomas Hochstein
Date: Sun, 12 Apr 2015 08:23
Date: Sun, 12 Apr 2015 08:23
11 lines
1929 bytes
1929 bytes
Russ Allbery schrieb: > I personally like omitting the spaces between consecutive > marks when > quoting just because it reduces the length of the line and makes it less > likely that one will get annoying wrapping artifacts in 80-column > displays, but there are tons of agents that don't bother. I'd call it a > minor quality-of-implementation issue, bordering on personal taste. Yep. It's more visually appealing (to me), too - no spaces between consecutive ">" marks, but a space between the (one or) last mark and the quoted text.
Re: Quoting style
Author: Michael Baeuerle
Date: Sun, 12 Apr 2015 11:06
Date: Sun, 12 Apr 2015 11:06
28 lines
2224 bytes
2224 bytes
Adam H. Kerman wrote: >Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >> >>[...] >>For "fixed" format not even a recommendation is violated by the current >>behaviour of my NUA. > >I never stated that you violated a MUST. I objected to your claim of >"strictly" as you weren't strictly following its recommendations. > >RFCs don't and cannot define readability. My comment was on readability. "readability" is user dependent. The style that you like is unreadable for my eyes. >>[...] >>But this discussion has convinced me at least to the point that the user >>should be able to configure the quoting style. The next version of >>flnews will have such an option. This option is now implemented since version 0.11pre9. >I've seen plenty of users use unconventional quote characters like | >and : and a few others. That's also annoying and often unparseable. >User-defined quoting style tends to suck hugely. I use "|" for citations from external sources. At least in german USENET this seems to be the most common choice of the other users.
Re: Quoting style
Author: newone
Date: Mon, 13 Apr 2015 02:31
Date: Mon, 13 Apr 2015 02:31
21 lines
2429 bytes
2429 bytes
On 2015-04-12 11:06:48 +0000, Michael Baeuerle said: > Adam H. Kerman wrote: >> Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >>> >>> [...] >>> For "fixed" format not even a recommendation is violated by the current >>> behaviour of my NUA. >> >> I never stated that you violated a MUST. I objected to your claim of >> "strictly" as you weren't strictly following its recommendations. >> >> RFCs don't and cannot define readability. My comment was on readability. > > "readability" is user dependent. The style that you like is unreadable > for my eyes. I'm not sure what whole discussion is about since NUA (theoretically) can parse quotes and represent it how user likes it. IIRC some NUAs already able to do so.
Re: Quoting style
Author: Michael Baeuerle
Date: Mon, 13 Apr 2015 09:14
Date: Mon, 13 Apr 2015 09:14
27 lines
2962 bytes
2962 bytes
newone wrote: >On 2015-04-12 11:06:48 +0000, Michael Baeuerle said: >>Adam H. Kerman wrote: >>>[...] >>>RFCs don't and cannot define readability. My comment was on readability. >> >>"readability" is user dependent. The style that you like is unreadable >>for my eyes. > >I'm not sure what whole discussion is about since NUA (theoretically) >can parse quotes and represent it how user likes it. IIRC some NUAs >already able to do so. Adam has problems with the quoting style I normally use: spaces after quote marks. Looks like his NUA (trn) can't parse and convert this style. AFAIK your NUA (Unison) can't produce "fixed" format at all. Therefore you have no choice (because for "flowed" format there is a canonical quoting style defined in RFC3676). My NUA (flnews) can't produce "flowed" format at all. There is now a configuration option to select the quoting style. This configured style is also used to recreate the quoting of articles in "flowed" format after the text was rewrapped (like in this reply to your "flowed" article). Now I can switch the quoting style for threads where Adam participate.
Re: Quoting style
Author: Adam H. Kerman
Date: Mon, 13 Apr 2015 13:21
Date: Mon, 13 Apr 2015 13:21
23 lines
2267 bytes
2267 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> wrote: >newone wrote: >>On 2015-04-12 11:06:48 +0000, Michael Baeuerle said: >>>Adam H. Kerman wrote: >>>>[...] >>>>RFCs don't and cannot define readability. My comment was on readability. >>>"readability" is user dependent. The style that you like is unreadable >>>for my eyes. >>I'm not sure what whole discussion is about since NUA (theoretically) >>can parse quotes and represent it how user likes it. IIRC some NUAs >>already able to do so. >Adam has problems with the quoting style I normally use: spaces after >quote marks. Looks like his NUA (trn) can't parse and convert this >style. I object in general to unconventional quoting styles. In any event, trn doesn't parse much at all; it expects the user to write a macro. I have one to eliminate extraneous spaces within quotes but it hardly accounts for all situations.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads