From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70054: 30.0.50; Unknown ids in References: break threading Date: Thu, 09 May 2024 12:37:41 +0300 Message-ID: <867cg372ca.fsf@gnu.org> References: <87plvi8mtp.fsf@mail.jao.io> <86wmpa3l41.fsf@gnu.org> <865xwff3dt.fsf@gnu.org> <87edayjajh.fsf@ericabrahamsen.net> <87mspl4olw.fsf@mail.jao.io> <87o7a0j1ff.fsf@ericabrahamsen.net> <87jzko4y0s.fsf@mail.jao.io> <87ttjssaf6.fsf@igel.home> <87plug2nk7.fsf@mail.jao.io> <868r0j8nmc.fsf@gnu.org> <87a5kz2zds.fsf@ust.hk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5821"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eric@ericabrahamsen.net, 70054-done@debbugs.gnu.org, jao@gnu.org To: Andrew Cohen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 09 11:39:06 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s50F0-0001DY-0P for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 May 2024 11:39:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s50EY-0000dy-Hi; Thu, 09 May 2024 05:38:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s50EW-0000dT-K7 for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 05:38:36 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s50EW-0005LV-Bc for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 05:38:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s50Ew-0005d0-05 for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 05:39:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2024 09:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 70054 X-GNU-PR-Package: emacs Mail-Followup-To: 70054@debbugs.gnu.org, eliz@gnu.org, mail@jao.io Original-Received: via spool by 70054-done@debbugs.gnu.org id=D70054.171524750321623 (code D ref 70054); Thu, 09 May 2024 09:39:01 +0000 Original-Received: (at 70054-done) by debbugs.gnu.org; 9 May 2024 09:38:23 +0000 Original-Received: from localhost ([127.0.0.1]:54260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s50EI-0005ch-VI for submit@debbugs.gnu.org; Thu, 09 May 2024 05:38:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s50EE-0005cb-4P for 70054-done@debbugs.gnu.org; Thu, 09 May 2024 05:38:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s50Di-00056u-4k; Thu, 09 May 2024 05:37:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=doAbbRdMs1AtXqud6qPHhAeaRKd6ocHDmuJSPw/o330=; b=Ey3wyldaoPRM agjVLkKOo6M6sPS6wlUUHKECxK0jP4gOpmrUmcLDX4alFSEhA5XNN9vdJ06txGnixb+ae8T6Be0u4 53FAxzOPVzdbmL4fIEEiQ5cWu3mgOWbM024bVaHlGheO7dCPBzLaPN2CnylywD2cKk10XYrKUbLLf v4UZvTLFOO/vZc5VH/arvS3y1DRSwb3UU4biu2g8hzPeXWTgvS53Cj8fyu3AwoKOXq22pg5ascWVI tEXPdibuww9l82uf1p+jgfPDjhokQpgVbIYKQ349bIB+ZRfgkzZUuS2lWOMeuwK8/W0fcXrbsmX+U kQlhQ8Jb+PD/KQxZfacmUg==; In-Reply-To: <87a5kz2zds.fsf@ust.hk> (message from Andrew Cohen on Thu, 09 May 2024 15:55:11 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284747 Archived-At: > Cc: Eric Abrahamsen , Jose A Ortega Ruiz > From: Andrew Cohen > Date: Thu, 09 May 2024 15:55:11 +0800 > > >>>>> "EZ" == Eli Zaretskii 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.