From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57162 Path: main.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Error while attempting to enter spam group Date: Thu, 29 Apr 2004 09:10:38 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: <8428.07265366918$1083244354@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 1083244354 14897 80.91.224.253 (29 Apr 2004 13:12:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Apr 2004 13:12:34 +0000 (UTC) Original-X-From: ding-owner+M5702@lists.math.uh.edu Thu Apr 29 15:12: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 1BJBKt-0001AT-00 for ; Thu, 29 Apr 2004 15:12:19 +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 1BJBJS-0001zO-00; Thu, 29 Apr 2004 08:10:50 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BJBJJ-0001zG-00 for ding@lists.math.uh.edu; Thu, 29 Apr 2004 08:10:41 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BJBJI-0005va-NQ for ding@lists.math.uh.edu; Thu, 29 Apr 2004 08:10:40 -0500 Original-Received: from tuxie.homelinux.net (pool-68-237-16-161.ny325.east.verizon.net [68.237.16.161]) by justine.libertine.org (Postfix) with ESMTP id AA9EA3A0044 for ; Thu, 29 Apr 2004 08:10:39 -0500 (CDT) Original-Received: (from njsf@localhost) by tuxie.homelinux.net (8.11.6/8.9.3) id i3TDAd715064; Thu, 29 Apr 2004 08:10:39 -0500 X-Msgid-Archive-Tag: _-nf--_xmat_-m:gnus_--- Original-To: ding@gnus.org X-Attribution: njsf User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.5 (chayote, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57162 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57162 Sometimes with the lastest CVS gnus I get this while entering my spam group. Not sure what exactly triggers it (it seems to be messages without Message-ID ???) Signaling: (wrong-type-argument arrayp nil) gnus-dup-unsuppress-article(32602) gnus-mark-article-as-unread(32602 ?$) gnus-summary-mark-article(32602 ?$) 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) This patch works for me. Feel free to use it or make more appropriate changes. diff -u -u -r7.1 gnus-dup.el --- gnus-dup.el 4 Jan 2004 21:51:00 -0000 7.1 +++ gnus-dup.el 29 Apr 2004 13:09:49 -0000 @@ -154,7 +154,8 @@ (defun gnus-dup-unsuppress-article (article) "Stop suppression of ARTICLE." - (let ((id (mail-header-id (gnus-data-header (gnus-data-find article))))) + (let* ((header (gnus-data-header (gnus-data-find article))) + (id (when header (mail-header-id header)))) (when id (setq gnus-dup-list-dirty t) (setq gnus-dup-list (delete id gnus-dup-list)) -- Nelson Ferreira