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#63842: 30.0.50; Slow 'gnus-summary-refer-thread' Date: Sat, 01 Jul 2023 12:49:07 +0300 Message-ID: <838rc0q7vw.fsf@gnu.org> References: <871qiu6m1f.fsf@ledu-giraud.fr> <87bkhxl9th.fsf@ust.hk> <87ilc44r3u.fsf@ledu-giraud.fr> <831qiduv5f.fsf@gnu.org> <87352rr8vz.fsf@ledu-giraud.fr> <87fs6rashz.fsf@ust.hk> <87352ppwed.fsf@ledu-giraud.fr> <87ttv54myy.fsf@ust.hk> <87o7lco5dv.fsf@ledu-giraud.fr> <87bkhbpq1k.fsf@ust.hk> <874jn3o3ru.fsf@ledu-giraud.fr> <87352izeeq.fsf@ledu-giraud.fr> <83r0psqbs1.fsf@gnu.org> <87edlsav34.fsf@ust.hk> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="380"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63842-done@debbugs.gnu.org To: Andrew Cohen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 11:49:21 2023 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 1qFXEG-000AQP-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 11:49:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFXDz-0004cR-4h; Sat, 01 Jul 2023 05:49:03 -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 1qFXDy-0004bQ-8C for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFXDx-0000oe-Vu for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFXDx-0007fD-Ra for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 05:49:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 09:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63842 X-GNU-PR-Package: emacs Mail-Followup-To: 63842@debbugs.gnu.org, eliz@gnu.org, manuel@ledu-giraud.fr Original-Received: via spool by 63842-done@debbugs.gnu.org id=D63842.168820492429426 (code D ref 63842); Sat, 01 Jul 2023 09:49:01 +0000 Original-Received: (at 63842-done) by debbugs.gnu.org; 1 Jul 2023 09:48:44 +0000 Original-Received: from localhost ([127.0.0.1]:56610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFXDg-0007eX-Gw for submit@debbugs.gnu.org; Sat, 01 Jul 2023 05:48:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFXDd-0007eH-Ky for 63842-done@debbugs.gnu.org; Sat, 01 Jul 2023 05:48:42 -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 1qFXDY-0000fU-6G; Sat, 01 Jul 2023 05:48:36 -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=38+ltCZ2DrXueKmxE3KBJS/n0/Aq4SZl09vPXEO7JMM=; b=e83hRIAskUGI iD/96Eke/f05EWgfiRv4arv/OrZhp+I1OzAVpheof0bbhx6yiLwaFVizjDlR7K8vfJtA4F1dQ9a2c sQgv8xiBWscW39CLHqqm25+RJur9AZfyp2CwxGIHEzMs3j65z/eByPxkT8QXpaUgkAEPiuxrbVIKj ChMS7c5m38m2x0uVaJseR8vq0rgK68mgYyy1mJVzuJ1GsWsTI438e8TMukoFRPEFQ5CBOga9xycbr IlZhlLXVdFZwCxQZ3ib2tqBLFsdFjbtMwrpbeaEbhnjzkPEkpRFGQpJknVCHvRBSthj/LH4EAXh6k /z0LU4cAZQkzkVNywYHxdw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFXDX-0002yz-K8; Sat, 01 Jul 2023 05:48:35 -0400 In-Reply-To: <87edlsav34.fsf@ust.hk> (message from Andrew Cohen on Sat, 01 Jul 2023 16:34:39 +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:264383 Archived-At: > From: Andrew Cohen > Date: Sat, 01 Jul 2023 16:34:39 +0800 > > >>>>> "EZ" == Eli Zaretskii writes: > > >> From: Manuel Giraud Cc: Eli Zaretskii > >> , 63842@debbugs.gnu.org, cohen@andy.bu.edu Date: > >> Fri, 23 Jun 2023 12:00:45 +0200 > >> > >> Manuel Giraud writes: > >> > >> [...] > >> > >> >> To get everything right, any articles in the thread that need > >> to be >> added to the summary buffer have to be added to the > >> dependencies >> hash. In the case of searching we know exactly > >> which articles need to >> be added so we have no need for > >> 'gnus-read-all-available-headers to be >> non-nil: the "found" > >> articles are each added to the hash. The only >> case where > >> 'gnus-read-all-available-headers needs to be non-nil is >> when > >> we don't know exactly which articles are part of the thread in >> > >> which case we have to parse a larger set. This is what happens in > >> the >> 3rd case in the conditional (the "t" clause) in >> > >> 'gnus-summary-refer-thread. That is, this variable is only > >> relevant in >> those cases where we don't have a configured > >> search engine and just >> retrieve a lot of headers and hope for > >> the best. So the setting of >> 'gnus-read-all-available-headers > >> is just in the wrong place. > >> > > >> > Thanks. I don't know for other backends/search engines but a > >> binding of > 'gnus-read-all-available-headers' to t elsewhere > >> will sure fix my > issue. > >> > >> Hi Andrew, > >> > >> I have seen your patch and it works as expected. > >> 'gnus-summary-refer-thread' is as fast as before for me. Thanks. > > EZ> Thanks. can the fix be installed and the bug closed then, > EZ> please? > > Already installed (commit 1e13610b75718e7904f8af181fb73571639e1211). Bug > can be closed. Thanks, done.