From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57877 Path: main.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Problems accessing spam group (again) Date: Tue, 08 Jun 2004 01:13:00 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <45898.3762459413$1086671720@news.gmane.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086671720 1041 80.91.224.253 (8 Jun 2004 05:15:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2004 05:15:20 +0000 (UTC) Original-X-From: ding-owner+M6418@lists.math.uh.edu Tue Jun 08 07:15:11 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 1BXYx5-0001dx-00 for ; Tue, 08 Jun 2004 07:15:11 +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 1BXYvb-0005HU-00; Tue, 08 Jun 2004 00:13:39 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BXYv4-0005HM-00 for ding@lists.math.uh.edu; Tue, 08 Jun 2004 00:13:06 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BXYv3-0004vx-GH for ding@lists.math.uh.edu; Tue, 08 Jun 2004 00:13:05 -0500 Original-Received: from tuxie.homelinux.net (pool-68-237-120-213.ny325.east.verizon.net [68.237.120.213]) by justine.libertine.org (Postfix) with ESMTP id 5CDF73A0034 for ; Tue, 8 Jun 2004 00:13:01 -0500 (CDT) Original-Received: (from njsf@localhost) by tuxie.homelinux.net (8.11.6/8.9.3) id i585D0310611; Tue, 8 Jun 2004 00:13:00 -0500 X-Msgid-Archive-Tag: _-nf--_xmat_-m:gnus_--- Original-To: ding@gnus.org X-Attribution: njsf User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57877 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57877 Intermitently I've been getting the following error: Signaling: (wrong-type-argument arrayp nil) gnus-dup-unsuppress-article(35829) gnus-mark-article-as-unread(35829 ?$) gnus-summary-mark-article(35829 ?$) spam-mark-junk-as-spam-routine() spam-summary-prepare() run-hooks(spam-summary-prepare) apply(run-hooks spam-summary-prepare) gnus-run-hooks(gnus-summary-prepare-hook) gnus-summary-prepare() gnus-summary-read-group-1("nnml:mail.spam" nil t nil nil nil) gnus-summary-read-group("nnml:mail.spam" nil t nil nil nil nil) gnus-group-read-group(nil t) gnus-group-select-group(nil) gnus-topic-select-group(nil) call-interactively(gnus-topic-select-group) I traced it to gnus-dup-unsuppress-article being called when gnus-dup-hashtb is not an array. I fixed it with the following (trivial) patch, although not sure if it is the solution to the real problem: diff -u -r7.3 gnus-dup.el --- gnus-dup.el 20 May 2004 08:02:39 -0000 7.3 +++ gnus-dup.el 8 Jun 2004 05:11:27 -0000 @@ -156,7 +156,7 @@ "Stop suppression of ARTICLE." (let* ((header (gnus-data-header (gnus-data-find article))) (id (when header (mail-header-id header)))) - (when id + (when (and id gnus-dup-hashtb) (setq gnus-dup-list-dirty t) (setq gnus-dup-list (delete id gnus-dup-list)) (unintern id gnus-dup-hashtb)))) -- Nelson Ferreira