From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.bugs Subject: bug#70054: 30.0.50; Unknown ids in References: break threading Date: Thu, 09 May 2024 15:55:11 +0800 Message-ID: <87a5kz2zds.fsf@ust.hk> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10079"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eric Abrahamsen , Jose A Ortega Ruiz To: 70054@debbugs.gnu.org Cancel-Lock: sha1:QVqLHOCY72jsRGt7SoQjGS2gwys= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 09 10:01:09 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 1s4yiC-0002Z5-St for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 May 2024 10:01:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4yhs-0002jY-2y; Thu, 09 May 2024 04:00:48 -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 1s4yhi-0002ga-8q for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 04:00:38 -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 1s4yhg-0003qw-Ey for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 04:00:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s4yi6-0004ec-94 for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 04:01:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87plvi8mtp.fsf@mail.jao.io> Resent-From: Andrew Cohen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2024 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70054 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171524164817864 (code B ref -1); Thu, 09 May 2024 08:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2024 08:00:48 +0000 Original-Received: from localhost ([127.0.0.1]:53833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4yhr-0004e4-Py for submit@debbugs.gnu.org; Thu, 09 May 2024 04:00:48 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:58182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s4yhn-0004dv-9I for submit@debbugs.gnu.org; Thu, 09 May 2024 04:00:46 -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 1s4yhF-0002eb-Vj for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 04:00:09 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4yhB-0003cQ-9x for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 04:00:09 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1s4yh8-0002Ba-19 for bug-gnu-emacs@gnu.org; Thu, 09 May 2024 10:00:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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:284740 Archived-At: >>>>> "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. 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