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: Wed, 09 Jun 2021 11:05:14 -0700 Message-ID: References: <87im2v9y4u.fsf@gnus.org> <874kee0y6l.fsf@gnus.org> <87zgw3tjvd.fsf@gnus.org> <87im2oof07.fsf@gnus.org> <87y2bjl5ox.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5921"; 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 20:06:14 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 1lr2ah-0001Jg-HM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 20:06:11 +0200 Original-Received: from localhost ([::1]:59140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr2ag-0006oD-HL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Jun 2021 14:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr2aY-0006gS-7f for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 14:06:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr2aX-0008Hj-W9 for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 14:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr2aX-0004Ml-N9 for bug-gnu-emacs@gnu.org; Wed, 09 Jun 2021 14:06:01 -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 18:06: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.162326192216730 (code B ref 48801); Wed, 09 Jun 2021 18:06:01 +0000 Original-Received: (at 48801) by debbugs.gnu.org; 9 Jun 2021 18:05:22 +0000 Original-Received: from localhost ([127.0.0.1]:34645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr2Zt-0004Lm-PZ for submit@debbugs.gnu.org; Wed, 09 Jun 2021 14:05:22 -0400 Original-Received: from ns.lapseofthought.com ([50.0.39.240]:44665 helo=mail.lapseofthought.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr2Zp-0004La-NK for 48801@debbugs.gnu.org; Wed, 09 Jun 2021 14:05:19 -0400 Original-Received: from awb-mbp.local (unknown [IPv6:2601:646:4200:b470:a4de:4a60:154c:229f]) (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 4G0ZlH121Cz3pdjV; Wed, 9 Jun 2021 11:05:15 -0700 (PDT) In-Reply-To: <87y2bjl5ox.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Jun 2021 11:59:10 +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:208299 Archived-At: --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > Alex Bochannek writes: > >> 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. > > Perhaps the easiest would be to create a separate select method for > these groups that has nntp-nov-is-evil set as a select method variable. That's awesome, it works! I wasn't even considering this option, but it makes perfect sense. How about adding this to the documentation? 2021-06-09 Alex Bochannek * doc/misc/gnus.texi (To From Newsgroups): Document extra header nnvirtual group scenario --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 32ba5aee92..18c4b091d3 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi @@ -5246,6 +5246,13 @@ To From Newsgroups Be aware, though, that this will make entering an @acronym{NNTP} group much, much slower, so this is not recommended. +One particular scenario in which it can be desirable to not use +@samp{XOVER} is for @code{nnvirtual} groups in order to support +limiting by extra headers (e.g., by the newsgroup of its component +groups.) Because group parameters are not inherited, a separate select +method for the component groups with the appropriate +@code{nov-is-evil} set as a method variable is required. + @node Summary Buffer Mode Line @subsection Summary Buffer Mode Line --=-=-= Content-Type: text/plain >> 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? > > Sounds like a bug to me. I must have gotten myself into an undefined state last night, can't reproduce. Thank you for your help! Learned a lot about how virtual groups work in the process of trying to get this to work :) -- Alex. --=-=-=--