Subject: Re: bug#47639: 28.0.50; In Gnus, missing In-Reply-To when saving a draft, re-editing it and sending the email

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 29 Jun 2022 13:01:01 +0200

Bastien <[email-masked]> writes:

> In Gnus, when replying with S W and sending immediately, the
> In-Reply-To header is correctly set.
>
> But when saving the email as a draft then re-editing this draft
> (D e) before sending it, the In-Reply-To is missing in the received
> email.

The In-reply-to header isn't used by much, which is why it's not
pre-generated by default (unlike the References header, which is
useful).  (It mostly duplicates information that's in other headers.)

> Setting `message-generate-headers-first' to `t` does solve the
> issue by generating the In-Reply-To before saving it as a draft
> and reusing the In-Reply-To value when sending, but the default
> behavior when replying should be to preserve In-Reply-To, even
> when temporarily storing the email as a draft, and even with
> `message-generate-headers-first'.

Sure, why not.  I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no