From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57416 Path: main.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: problems with gnus-newsgroup-unseen and gnus-newsgroup-data Date: 17 May 2004 09:53:05 -0400 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4n1xljw472.fsf@lifelogs.com> References: <4nisgb6723.fsf@b2-15-1.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084802988 16823 80.91.224.253 (17 May 2004 14:09:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 14:09:48 +0000 (UTC) Original-X-From: ding-owner+M5956@lists.math.uh.edu Mon May 17 16:09:41 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 1BPioH-0004fo-00 for ; Mon, 17 May 2004 16:09:41 +0200 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 1BPio8-0003vC-00; Mon, 17 May 2004 09:09:32 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPio3-0003ud-00 for ding@lists.math.uh.edu; Mon, 17 May 2004 09:09:27 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPio3-0006yJ-0J for ding@lists.math.uh.edu; Mon, 17 May 2004 09:09:27 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id 875E53A0050 for ; Mon, 17 May 2004 09:09:26 -0500 (CDT) Original-Received: (qmail 22442 invoked from network); 17 May 2004 14:03:56 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) ([134.174.9.63]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 17 May 2004 14:03:55 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 16 May 2004 15:11:33 +0200") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57416 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57416 On Sun, 16 May 2004, larsi@gnus.org wrote: > Ted Zlatanov writes: > >> Could someone please clue me in as to how to fill in the missing >> data in gnus-newsgroup-data, or tell me why gnus-newsgroup-unseen >> is returning invalid article numbers? > > Hm... that list is computed as follows: > > (setq gnus-newsgroup-unseen > (gnus-inverse-list-range-intersection > gnus-newsgroup-articles gnus-newsgroup-seen)))) > > Those should be all valid article numbers, I'd have thought. Correction: they are *valid* numbers, but the *data* in gnus-newsgroup-data for them is nil. I use this version of spam-fetch-article-header now, which fixes that problem: (defun spam-fetch-article-header (article) (save-excursion (set-buffer gnus-summary-buffer) (gnus-read-header article) (nth 3 (assq article gnus-newsgroup-data)))) I hope this is the right approach. Ted