From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57423 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 11:11:09 -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: <4nsmdzjdgy.fsf@lifelogs.com> References: <4nisgb6723.fsf@b2-15-1.bwh.harvard.edu> <4n1xljw472.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084807684 30544 80.91.224.253 (17 May 2004 15:28:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 15:28:04 +0000 (UTC) Original-X-From: ding-owner+M5963@lists.math.uh.edu Mon May 17 17:27:47 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 1BPk1r-00031x-00 for ; Mon, 17 May 2004 17:27:47 +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 1BPk1h-0004bq-00; Mon, 17 May 2004 10:27:37 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BPk1d-0004bl-00 for ding@lists.math.uh.edu; Mon, 17 May 2004 10:27:33 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BPk1c-0007zn-H3 for ding@lists.math.uh.edu; Mon, 17 May 2004 10:27:32 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id A8F343A0050 for ; Mon, 17 May 2004 10:27:31 -0500 (CDT) Original-Received: (qmail 26805 invoked from network); 17 May 2004 15:22:01 -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 15:22:00 -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 "Mon, 17 May 2004 17:13:55 +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:57423 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57423 On Mon, 17 May 2004, larsi@gnus.org wrote: > "Ted Zlatanov" writes: > >> 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. > > Hm. If the header is present in the summary buffer, then it should > also be present in `gnus-newsgroup-data'... I kept getting errors when I assumed that. I'm not sure what's the cause, but headers are often missing in the newsgroup-data. It doesn't show up often, maybe 5% of the time, and I couldn't find a pattern to it (except that it was repeatable when you re-entered the group). Maybe it's threads-related? I don't know. Anyhow, if you need me to show you examples of this problem I can, but I can't trace the root cause of why the headers are nil. I tried that and everything looked OK last time. Oh, there was a very recent fix for gnus-dup-unsuppress-article which dealt with this also, because the mail header would be nil there too. Ted