Gnus development mailing list
 help / color / mirror / Atom feed
* The new registry errors when spam.el is moving messages
@ 2011-04-20 10:04 Tassilo Horn
  2011-04-20 10:56 ` Tassilo Horn
  0 siblings, 1 reply; 9+ messages in thread
From: Tassilo Horn @ 2011-04-20 10:04 UTC (permalink / raw)
  To: ding

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



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

end of thread, other threads:[~2011-04-21 23:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 10:04 The new registry errors when spam.el is moving messages Tassilo Horn
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

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