* adding In-Reply-To field in archived message
@ 2024-10-01 12:18 Peter Münster
2024-10-01 16:38 ` Robert Pluim
2024-10-01 18:59 ` Dan Christensen
0 siblings, 2 replies; 3+ messages in thread
From: Peter Münster @ 2024-10-01 12:18 UTC (permalink / raw)
To: ding
Hi,
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?
TIA for any hints,
--
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: adding In-Reply-To field in archived message
2024-10-01 12:18 adding In-Reply-To field in archived message Peter Münster
@ 2024-10-01 16:38 ` Robert Pluim
2024-10-01 18:59 ` Dan Christensen
1 sibling, 0 replies; 3+ messages in thread
From: Robert Pluim @ 2024-10-01 16:38 UTC (permalink / raw)
To: Peter Münster; +Cc: ding
>>>>> On Tue, 01 Oct 2024 14:18:53 +0200, Peter Münster <pm@a16n.net> said:
Peter> Hi,
Peter> In the summary buffer, I would like to add with just one key-press an
Peter> In-Reply-To line to the current message with the Message-Id of the
Peter> previous message. Is there already some helper function somewhere, that
Peter> I can use, or should I code it from scratch please?
Iʼd draw inspiration from `message-make-in-reply-to'.
If itʼs just a one-off thing, you could try just creating a reply to the
previous message, and copying out the generated In-Reply-To.
Robert
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: adding In-Reply-To field in archived message
2024-10-01 12:18 adding In-Reply-To field in archived message Peter Münster
2024-10-01 16:38 ` Robert Pluim
@ 2024-10-01 18:59 ` Dan Christensen
1 sibling, 0 replies; 3+ messages in thread
From: Dan Christensen @ 2024-10-01 18:59 UTC (permalink / raw)
To: ding
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-10-01 18:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-01 12:18 adding In-Reply-To field in archived message Peter Münster
2024-10-01 16:38 ` Robert Pluim
2024-10-01 18:59 ` Dan Christensen
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).