Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Error while attempting to enter spam group
@ 2004-04-29 13:10 Nelson Ferreira
  0 siblings, 0 replies; 2+ messages in thread
From: Nelson Ferreira @ 2004-04-29 13:10 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Error while attempting to enter spam group
       [not found] <m3u0z3kjzl.fsf_-nf--_xmat_-m:gnus_---@tuxie.homelinux.net>
@ 2004-05-14 19:31 ` Ted Zlatanov
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2004-05-14 19:31 UTC (permalink / raw)
  Cc: ding

On Thu, 29 Apr 2004, nelson.ferreira@verizon.net wrote:

> 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 ???)

I think so, and I comitted your change.  Thanks!

Ted



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-14 19:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-29 13:10 [PATCH] Error while attempting to enter spam group Nelson Ferreira
     [not found] <m3u0z3kjzl.fsf_-nf--_xmat_-m:gnus_---@tuxie.homelinux.net>
2004-05-14 19:31 ` Ted Zlatanov

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).