From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Can thread gathering use In-Reply-To: <message-id>?
Date: Sun, 19 May 2002 03:38:51 +0200 [thread overview]
Message-ID: <m3661kx6fo.fsf@defun.localdomain> (raw)
In-Reply-To: <uadr1dv7o.fsf@assurancetourix.xs4all.nl> (tkoelman@xs4all.nl's message of "Wed, 15 May 2002 20:41:34 +0000 (UTC)")
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
tkoelman@xs4all.nl (Tom Koelman) writes:
> Jesper Harder wrote:
>
>> tkoelman@xs4all.nl (Tom Koelman) writes:
>>
>>> On inspection of the reply I noticed that it didn't have its
>>> References header set, but did have a header called In-Reply_To:
>>> with the correct message-id.
>>>
>>> Is there some way to make gnus use this information?
>>
>> Hmm, I would have thought Gnus already does it.
>
> You are right, thanks.
> I had set gnus-summary-thread-gathering-function to
> gnus-gather-threads-by-references. When I turned that off the thread
> was gathered nicely.
Hmm, I think this patch should make work with
gnus-gather-threads-by-references, too:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-sum.el.patch --]
[-- Type: text/x-patch, Size: 708 bytes --]
--- /home/harder/gnus/lisp/gnus-sum.el Fri May 17 02:03:24 2002
+++ gnus-sum.el Sun May 19 02:49:51 2002
@@ -3525,7 +3525,14 @@
(result threads)
ids references id gthread gid entered ref)
(while threads
- (when (setq references (mail-header-references (caar threads)))
+ (when (or
+ (not (string= "" (setq references
+ (mail-header-references (caar threads)))))
+ (and
+ (setq references
+ (cdr (assq 'In-Reply-To (mail-header-extra (caar threads)))))
+ (setq references
+ (gnus-extract-message-id-from-in-reply-to references))))
(setq id (mail-header-id (caar threads))
ids (inline (gnus-split-references references))
entered nil)
next prev parent reply other threads:[~2002-05-19 1:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-15 17:05 Tom Koelman
2002-05-15 18:53 ` Jesper Harder
2002-05-15 20:14 ` Tom Koelman
2002-05-15 21:25 ` Andras BALI
2002-05-16 7:01 ` Tom Koelman
2002-05-19 1:38 ` Jesper Harder [this message]
2002-05-20 14:24 ` Tom Koelman
2002-05-26 18:07 ` Jesper Harder
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=m3661kx6fo.fsf@defun.localdomain \
--to=harder@ifa.au.dk \
/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).