From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4868 invoked from network); 19 May 2022 05:45:44 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 19 May 2022 05:45:44 -0000 Received: from localhost ([::1]:54722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrYyh-0005TX-6d for ml@inbox.vuxu.org; Thu, 19 May 2022 01:45:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrYyP-0005TH-Dg for info-gnus-english@gnu.org; Thu, 19 May 2022 01:45:23 -0400 Received: from ciao.gmane.io ([116.202.254.214]:35702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrYyM-00011p-Tu for info-gnus-english@gnu.org; Thu, 19 May 2022 01:45:20 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nrYyJ-0007MY-AK for info-gnus-english@gnu.org; Thu, 19 May 2022 07:45:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: info-gnus-english@gnu.org From: Andrew Cohen Subject: Re: nnimap gmail "A T" and "^" not working Date: Thu, 19 May 2022 13:45:06 +0800 Message-ID: <878rqym5y5.fsf@ust.hk> References: <877d6ire2k.fsf@ericabrahamsen.net> <87r14qo9hi.fsf@ericabrahamsen.net> <87r14qmlwj.fsf@ust.hk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:UZ9g2hhhLprnAbFslaV9kda3xuk= Received-SPF: pass client-ip=116.202.254.214; envelope-from=gegu-info-gnus-english@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" >>>>> "J" == JibStyle writes: J> Andrew Cohen writes: >> gmail's imap implementation is non-standard and the standard >> thread-referral search doesn't seem to work properly (I never >> noticed this before since most of email activity is not in >> gmail). [...] J> Thanks for clarifying :) I am glad I did not shoot myself in the J> foot, as the manual specified is possible. I tried poking around a bit more and maybe I was too hasty in blaming gmail :) For me, the failure of "A T" is arising because the 'references header in the emails within a thread are not right. In particular, this header is supposed to include most of the message-ids in the thread that the message is aware of (e.g. if its the 4th message in a chain of replies this header should contain the message-ids of all the prior messages; if this list of prior messages is extremely long the spec allows dropping part of it). But for the cases where "A T" fails this header contains only a /single/ message-id, that of the immediate prior email. This prevents the full thread from being found. The most likely explanation is that the mailer used by the sender is not adding the full references header. I assumed it was gmail that was responsible, but a closer look at the messages on which "A T" fails shows that they were all sent by the iphone mailer. So while I haven't done any exhaustive testing, this is my current culprit. But I am curious if others are seeing the same thing. So jibstyle maybe you can help with some testing? First, for the purposes of the test can you 1. Set 'gnus-refer-thread-use-search to 'nil, 2. Enter the "[Gmail]/All Mail" group and find an article late in the thread on which you know thread referral fails to find the full thread. Examine the headers of this article (by typing C-g when point is on the article in the summary buffer) and see what is in the References header? And what mailer was used to send the message? For example when I do this I find the headers contain In-Reply-To: References: X-Mailer: iPhone Mail (19E258) which shows that the References header only contains the immediately prior email's message-id but not that of any of the other messages. Best, Andy -- Andrew Cohen