Re: [RFC-PATCH 1/2] send-email: new option to quote an email and reply to
- From
- Samuel GROOT <samuel.groot@grenoble-inp.org>
- Date
- May 23, 2016, 22:10 UTC
- Message-ID
- <6e44c8dd-56cd-37c2-81bb-cfaa001bb549@grenoble-inp.org>
- In-Reply-To
- <vpqmvng8rnt.fsf@anie.imag.fr>
On 05/23/2016 10:07 PM, Matthieu Moy wrote:
Show 19 quoted lines
> Eric Wong <e@80x24.org> writes:
>
>> Tom Russello <tom.russello@grenoble-inp.org> 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