unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Rmail: new feature to deal with In-Reply-To and References headers
@ 2023-12-09 15:35 rameiko87
  2023-12-09 15:49 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: rameiko87 @ 2023-12-09 15:35 UTC (permalink / raw)
  To: emacs-devel

Rmail allows the user to move among messages by using the Subject 
header, however the In-Reply-To and References headers provide more 
accurate information about the email chain, and using them to move along 
the conversation thread is certainly more reliable than relying on the 
Subject header. How about implementing the following commands in Rmail:

Move to the next message in the same thread as the current one (that is, 
the next message whose References header includes the current 
Message-ID).
Move to the previous message in the same thread as the current one (that 
is, the message whose Message-ID is the last entry of the References 
header).
Move to the message which the current message is replying to (that is, 
the message whose Message-ID appears in the In-Reply-To header).
Move to the first message of the thread (that is, the first entry of the 
References header). With argument n, move to message number n of the 
thread.
Move to the first message of the thread (as a separate command)
Move to the last message of the thread (that is, the last message whose 
References header includes the current Message-ID).

After this, let's do the analogous for Summaries! I regard these 
improvements as the neat and elegant siblings of the Subject 
header-based walk.

Note: I wonder if any sanity-check on the message-tree is required, for 
instance what if the Message-ID of the current message appears in its 
In-Reply-To or References header.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-12-13 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-09 15:35 Rmail: new feature to deal with In-Reply-To and References headers rameiko87
2023-12-09 15:49 ` Eli Zaretskii
2023-12-09 21:54   ` rameiko87
2023-12-10  5:48     ` Eli Zaretskii
2023-12-13 10:27     ` Andrea Monaco
2023-12-13 13:17       ` Francesco Potortì
2023-12-13 13:34         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).