Gnus development mailing list
 help / color / mirror / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: The new registry errors when spam.el is moving messages
Date: Wed, 20 Apr 2011 12:04:10 +0200	[thread overview]
Message-ID: <877hap1bol.fsf@member.fsf.org> (raw)

Hi Ted,

I have this spam.el setup:

--8<---------------cut here---------------start------------->8---
(spam-initialize)
(setq gnus-spam-newsgroup-contents
      '(("\\(spam\\|Junk\\)" gnus-group-spam-classification-spam))
      ;; Move SPAM in normal groups to traning.spam.
      gnus-spam-process-destinations
      '(("nnimap\\+Fastmail:"
	 "nnimap+Fastmail:INBOX.training.spam")
	("nnimap\\+Uni:"
	 "nnimap+Uni:Junk"))
      ;; Move ham in spam groups to inbox and training.ham.
      gnus-ham-process-destinations
      '(("nnimap\\+Fastmail:INBOX\\.Junk Mail"
	 "nnimap+Fastmail:INBOX"
	 "nnimap+Fastmail:INBOX.training.ham")))
--8<---------------cut here---------------end--------------->8---

Now I had some spam messages in some group, marked them with $ and hit q
to leave the summary.  Usually, that would have moved the spam messages
to my nnimap+Fastmail:INBOX.training.spam group.  It tried to do so, but
I got this error.

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument listp [96 "Hello Software User !!!The Hottest Products, FlashCS5 and more at Photoshop Plugins" "Photoshop Plugins <adobeupdate@cheapsneer.com>" #("Wed, 20 Apr 2011 06:34:00 +0000" 0 1 (gnus-time (19886 32344))) "<201104200634.p3K6YXxW029107@linnode.donarmstrong.com>" nil 34463 34 nil ((To . "=?UTF-8?Q?Software=20User?= <emacsbugs@lists.donarmstrong.com>"))])
  gnus-registry-action(move [96 "Hello Software User !!!The Hottest Products, FlashCS5 and more at Photoshop Plugins" "Photoshop Plugins <adobeupdate@cheapsneer.com>" #("Wed, 20 Apr 2011 06:34:00 +0000" 0 1 (gnus-time (19886 32344))) "<201104200634.p3K6YXxW029107@linnode.donarmstrong.com>" nil 34463 34 nil ((To . "=?UTF-8?Q?Software=20User?= <emacsbugs@lists.donarmstrong.com>"))] "nnimap+Fastmail:INBOX.mailinglists.misc" "nnimap+Fastmail:INBOX.training.spam" nil)
  run-hook-with-args(gnus-registry-action move [96 "Hello Software User !!!The Hottest Products, FlashCS5 and more at Photoshop Plugins" "Photoshop Plugins <adobeupdate@cheapsneer.com>" #("Wed, 20 Apr 2011 06:34:00 +0000" 0 1 (gnus-time (19886 32344))) "<201104200634.p3K6YXxW029107@linnode.donarmstrong.com>" nil 34463 34 nil ((To . "=?UTF-8?Q?Software=20User?= <emacsbugs@lists.donarmstrong.com>"))] "nnimap+Fastmail:INBOX.mailinglists.misc" "nnimap+Fastmail:INBOX.training.spam" nil)
  gnus-summary-move-article(nil "nnimap+Fastmail:INBOX.training.spam")
  spam-copy-or-move-routine(nil ("nnimap+Fastmail:INBOX.training.spam") (96 95) spam)
  spam-move-spam-routine((96 95))
  spam-register-routine(spam spam-use-move (96 95))
  spam-resolve-registrations-routine()
  spam-summary-prepare-exit()
  run-hooks(gnus-summary-prepare-exit-hook)
  apply(run-hooks gnus-summary-prepare-exit-hook)
  gnus-run-hooks(gnus-summary-prepare-exit-hook)
  gnus-summary-exit()
  call-interactively(gnus-summary-exit nil nil)
--8<---------------cut here---------------end--------------->8---

Does the registry now use vectors instead of lists?  If so, then spam.el
has to be updated.

Bye,
Tassilo
-- 
Sent from my Emacs



             reply	other threads:[~2011-04-20 10:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 10:04 Tassilo Horn [this message]
2011-04-20 10:56 ` Tassilo Horn
2011-04-20 13:01   ` Katsumi Yamaoka
2011-04-20 18:34     ` Ted Zlatanov
2011-04-21  0:05       ` Katsumi Yamaoka
2011-04-21 20:26         ` Ted Zlatanov
2011-04-21 23:09           ` Katsumi Yamaoka
2011-04-21 23:26             ` Ted Zlatanov
2011-04-20 20:55   ` 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=877hap1bol.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=ding@gnus.org \
    /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).