This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Gerrit emails
On 2019-10-17 10:44 a.m., Eli Zaretskii wrote:
>> From: Simon Marchi <simark@simark.ca>
>> Date: Thu, 17 Oct 2019 10:22:04 -0400
>>
>> Ok, so the addresses are duplicated between the "To:" and the "Reply-to:" fields.
>
> I think the fact that some of them appear in CC might also matter.
> Also note that cbiesinger@google.com appears twice in Reply-To.
Right, those in CC are also in Reply-to. But there's not overlap between To and CC.
>> I am not sure what a client is expected to do in that case. There seems to be some
>> divergence between clients, for example Thunderbird doesn't duplicate the addresses
>> when I hit "Reply all". Perhaps Rmail can be modified to not put an address in CC
>> if it sees it's already in the To field?
>
> The logic in Rmail for how to generate the To: and CC: headers is
> complex and tries to support quite a few use cases. It never gave me
> any trouble, in all the years that I'm using it. Changing it for this
> single server would be unwise, IMO, because it will most probably
> break much more important use cases.
Agreed.
>> I did not find any setting in Gerrit to omit the "Reply-to" field of the sent messages,
>> so I fear it won't be possible to change it in the immediate. I can try to look
>> at modifying Gerrit from source, but that will take a bit of time.
>
> That's just too bad. Thanks for trying.
>
> Are you sure the Reply-To comes from Gerrit and not from the list
> server?
I am 95% sure that Gerrit adds it. When I looked at other messages on the list (such as
this one), they don't have Reply-to.
Also, I receive some messages in double, when I am in the To: field and because I am
also registered to the gdb-patches list. If I compare two identical messages I received,
they both have the same Reply-to header. So it would mean that it's Gerrit that adds it,
since the version I receive directly from Gerrit has the header.
I don't think that Reply-to header is so important for us. On the list, I presume everybody
just does "Reply all".
Simon