Gnus development mailing list
 help / color / mirror / Atom feed
From: Dan Christensen <jdc@uwo.ca>
To: ding@gnus.org
Subject: Re: adding In-Reply-To field in archived message
Date: Tue, 01 Oct 2024 14:59:16 -0400	[thread overview]
Message-ID: <87ikubejjv.fsf@uwo.ca> (raw)
In-Reply-To: <87msjodniq.fsf@a16n.net>

On Oct  1, 2024, Peter Münster <pm@a16n.net> 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



  parent reply	other threads:[~2024-10-01 18:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-01 12:18 Peter Münster
2024-10-01 16:38 ` Robert Pluim
2024-10-01 18:59 ` Dan Christensen [this message]
2024-10-07  4:39 ` James Thomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ikubejjv.fsf@uwo.ca \
    --to=jdc@uwo.ca \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).