From: Samuel GROOT Date: Mon, 23 May 2016 22:10:20 GMT Subject: Re: [RFC-PATCH 1/2] send-email: new option to quote an email and reply to Message-ID: <6e44c8dd-56cd-37c2-81bb-cfaa001bb549@grenoble-inp.org> In-Reply-To: On 05/23/2016 10:07 PM, Matthieu Moy wrote: > Eric Wong writes: > >> Tom Russello wrote: >> >>> + #Message body >>> + while (<$fh>) { >>> + #for files containing crlf line endings >>> + $_=~ s/\r//g; >>> + my $space=""; >>> + if (/^[^>]/) { >>> + $space = " "; >>> + } >>> + $message_quoted .= ">".$space.$_; >> >> Is this really necessary to switch between "> " and ">" prefix? >> AFAIK, MUAs prefix unconditionally with "> ". > > I had the same question, but at least my mailer (Gnus) has the same > special-case it seems. Thunderbird behaves the same way, so we decided to mimic that behavior. It is specified neither in RFC 2822 [1] nor in RFC 5322 [2]. When we write an email, we write it with a maximum width of 72 columns. If we insert "> " with each reply, the 80-columns limit will be reached with only 4 replies. So IMHO we should trim the extra space to allow up to 7 replies before reaching the 80-columns limit. [1] https://www.ietf.org/rfc/rfc2822.txt [2] https://www.ietf.org/rfc/rfc5322.txt