From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56721 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: Exact article count for nnml groups Date: Sat, 13 Mar 2004 13:15:13 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: <87ekrxueni.fsf@emptyhost.emptydomain.de> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079180126 3175 80.91.224.253 (13 Mar 2004 12:15:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Mar 2004 12:15:26 +0000 (UTC) Original-X-From: ding-owner+M5260@lists.math.uh.edu Sat Mar 13 13:15:20 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B282y-0003jr-00 for ; Sat, 13 Mar 2004 13:15:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1B282j-00012K-00; Sat, 13 Mar 2004 06:15:05 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1B282e-00012F-00 for ding@lists.math.uh.edu; Sat, 13 Mar 2004 06:15:00 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id D8F393A003D for ; Sat, 13 Mar 2004 06:14:59 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1B282d-0005VU-00 for ; Sat, 13 Mar 2004 13:14:59 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 19 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de Original-X-Trace: quimby.gnus.org 1079180099 17555 213.203.244.156 (13 Mar 2004 12:14:59 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 13 Mar 2004 12:14:59 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:XFr+AZlGW6jvDb4eBhM2Z8qG51Q= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56721 It's good stuff. In addition to the other comments, I have one other issue: If I understand correctly, then your code never tries to invoke the new backend function unless the gnus-count-articles-in-groups variable allows it. If the variable allows it, then you look whether the new function is available. If so, you call it. Otherwise, you fall back to the old backend function. I'd suggest to do away with the gnus-count-articles-in-groups variable -- just always try to invoke the new function if available. If you really want to allow people to turn it off, you could do like nnml-nov-is-evil and similar variables, which also allow to turn off backend features. (Following Kevin's unhappiness with matching on group names.) Kai