Re: adding In-Reply-To field in archived message

Dan Christensen <[email protected]> Tue, 01 Oct 2024 14:59:16 -0400
Newsgroups gmane.emacs.gnus.general
Message-ID <[email protected]>
On Oct  1, 2024, Peter Münster <[email protected]> wrote:

> In the summary buffer, I would like to add with just one key-press an
> In-Reply-To line to the current message with the Message-Id of the
> previous message. Is there already some helper function somewhere, that
> I can use, or should I code it from scratch please?

These functions do something similar, but with the References header:

‘T ^’
     Make the current article the child of the marked (or previous)
     article (‘gnus-summary-reparent-thread’).

‘T M-^’
     Make the current article the parent of the marked articles
     (‘gnus-summary-reparent-children’).

The code for the second one is what to look at.  But I don't think
it saves the changed message.  (And depending on the backend, that
might be impossible (e.g. nntp) or difficult (e.g. nnimap).)

Dan