unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrew Cohen <acohen@ust.hk>
Cc: eric@ericabrahamsen.net, 70054-done@debbugs.gnu.org, jao@gnu.org
Subject: bug#70054: 30.0.50; Unknown ids in References: break threading
Date: Thu, 09 May 2024 12:37:41 +0300	[thread overview]
Message-ID: <867cg372ca.fsf@gnu.org> (raw)
In-Reply-To: <87a5kz2zds.fsf@ust.hk> (message from Andrew Cohen on Thu, 09 May 2024 15:55:11 +0800)

> Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, Jose A Ortega Ruiz <jao@gnu.org>
> From: Andrew Cohen <acohen@ust.hk>
> Date: Thu, 09 May 2024 15:55:11 +0800
> 
> >>>>> "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.

Thanks, done with this message.

> 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.

Thanks again.





      reply	other threads:[~2024-05-09  9:37 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
2024-05-09  9:37                     ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=867cg372ca.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70054-done@debbugs.gnu.org \
    --cc=acohen@ust.hk \
    --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 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).