From: Andrew Cohen <acohen@ust.hk>
To: 70054@debbugs.gnu.org
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>,
Jose A Ortega Ruiz <jao@gnu.org>
Subject: bug#70054: 30.0.50; Unknown ids in References: break threading
Date: Thu, 09 May 2024 15:55:11 +0800 [thread overview]
Message-ID: <87a5kz2zds.fsf@ust.hk> (raw)
In-Reply-To: <87plvi8mtp.fsf@mail.jao.io>
>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
[...]
EZ> Ping! Can we make some further progress with this bug report?
I worked with Jose to track everything down. This isn't a gnus bug and
the bug report can be closed.
Slightly more detail: the protonmail bridge adds non-existent ids to the
references header of messages (presumably used in some internal way by
the protonmail bridge). 'gnus is resilient in handling these: if
collecting threads by subject (the default) everything "just works". And
in case you (optionally) want to only use the references header for
threading, gnus has a way to alter the headers for exactly this
occasion: 'gnus-alter-header-function. So the following:
(setq gnus-alter-header-function 'fix-protonmail-references)
(defun fix-protonmail-references (header)
(setf (mail-header-references header)
(mapconcat
#'(lambda (x) (if (string-search "protonmail.internalid" x) "" x))
(gnus-split-references (mail-header-references header)) " "))
header)
will work.
I think this deserves to be in the gnus manual. I have a commit in my local
tree to do this, which I will push to master.
--
Andrew Cohen
next prev parent reply other threads:[~2024-05-09 7:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-28 13:18 bug#70054: 30.0.50; Unknown ids in References: break threading Jose A. Ortega Ruiz via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-06 9:18 ` Eli Zaretskii
2024-04-18 9:04 ` Eli Zaretskii
2024-04-22 4:17 ` Eric Abrahamsen
2024-04-22 11:35 ` Jose A Ortega Ruiz
2024-04-23 1:46 ` Eric Abrahamsen
2024-04-23 2:24 ` Jose A Ortega Ruiz
2024-04-23 9:19 ` Andreas Schwab
2024-04-23 13:52 ` Jose A Ortega Ruiz
2024-05-09 7:12 ` Eli Zaretskii
2024-05-09 7:55 ` Andrew Cohen [this message]
2024-05-09 9:37 ` Eli Zaretskii
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=87a5kz2zds.fsf@ust.hk \
--to=acohen@ust.hk \
--cc=70054@debbugs.gnu.org \
--cc=eric@ericabrahamsen.net \
--cc=jao@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.