From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alex Bochannek Newsgroups: gmane.emacs.bugs Subject: bug#48801: 28.0.50; [PATCH] Feature suggestion gnus-retrieve-headers check for nov-is-evil when agent is enabled Date: Tue, 08 Jun 2021 22:35:38 -0700 Message-ID: References: <87im2v9y4u.fsf@gnus.org> <874kee0y6l.fsf@gnus.org> <87zgw3tjvd.fsf@gnus.org> <87im2oof07.fsf@gnus.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="29704"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 48801@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 09 07:36:10 2021 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 1lqqss-0007WJ-Ad for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 07:36:10 +0200 Original-Received: from localhost ([::1]:49080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqqsq-0004Fd-AR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 01:36:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqqsk-0004Ej-DP for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 01:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqqsk-0006fB-67 for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 01:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqqsk-0004Vi-1h for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 01:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Bochannek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jun 2021 05:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 48801-submit@debbugs.gnu.org id=B48801.162321694617313 (code B ref 48801); Wed, 09 Jun 2021 05:36:01 +0000 Original-Received: (at 48801) by debbugs.gnu.org; 9 Jun 2021 05:35:46 +0000 Original-Received: from localhost ([127.0.0.1]:60299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqqsU-0004VB-2q for submit@debbugs.gnu.org; Wed, 09 Jun 2021 01:35:46 -0400 Original-Received: from ns.lapseofthought.com ([50.0.39.240]:10976 helo=mail.lapseofthought.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqqsP-0004V0-Sd for 48801@debbugs.gnu.org; Wed, 09 Jun 2021 01:35:44 -0400 Original-Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:b470:ad0e:9535:3927:c050]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.lapseofthought.com (Postfix) with ESMTPSA id 4G0G6M30Kzz3pkCV; Tue, 8 Jun 2021 22:35:39 -0700 (PDT) In-Reply-To: <87im2oof07.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 08 Jun 2021 11:57:28 +0200") Authentication-Results: ORIGINATING; auth=pass smtp.auth=alex smtp.mailfrom=alex@bochannek.com 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" Xref: news.gmane.io gmane.emacs.bugs:208271 Archived-At: Lars Ingebrigtsen writes: > Alex Bochannek writes: > >> I think your concern is that when `gnus-nov-is-evil' is set globally, it >> will effectively disable the agent for everything? Maybe this logic >> should reside in `gnus-agent-retrieve-headers' instead? I looked some more into it and it comes down to whether or not the component groups see a `nov-is-evil' during their initial header retrieval. If they do, the overview files for the agent include the necessary information and the cache appears to used as well. However, I don't see a way to set `nntp-nov-is-evil' for a group in a way that would still be true when it is part of a virtual group. As an experiment, I globally set `nntp-nov-is-evil' to `t' and disabled the agent to see if it even works. I ran into a lot of problems where Gnus lost track of the unread messages for simple NNTP groups. Is this expected or is this potentially a bug? -- Alex.