Gnus development mailing list
 help / color / mirror / Atom feed
From: Nelson Ferreira <nelson.ferreira@verizon.net>
Subject: [PATCH] Error while attempting to enter spam group
Date: Thu, 29 Apr 2004 09:10:38 -0400	[thread overview]
Message-ID: <8428.07265366918$1083244354@news.gmane.org> (raw)


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



             reply	other threads:[~2004-04-29 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-29 13:10 Nelson Ferreira [this message]
     [not found] <m3u0z3kjzl.fsf_-nf--_xmat_-m:gnus_---@tuxie.homelinux.net>
2004-05-14 19:31 ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8428.07265366918$1083244354@news.gmane.org' \
    --to=nelson.ferreira@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).