Gnus development mailing list
 help / color / mirror / Atom feed
* Error in spam-setup-widening when I hit 'g'
@ 2003-03-07 16:51 Emerick Rogul
  2003-03-07 17:28 ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Emerick Rogul @ 2003-03-07 16:51 UTC (permalink / raw)


I'm using the latest gnus out of CVS.  I configured spam.el to use
Bogofilter with the following lines in my .gnus.el:

(require 'spam)
(setq spam-use-bogofilter t)

When I hit 'g' in gnus, I now get the following error message:

spam-setup-widening: Invalid function: (macro . #[(&optional result)
("/usr/local/share/emacs/21.1/lisp/emacs-lisp/cl-macs.elc" . 15040) nil 3
("/usr/local/share/emacs/21.1/lisp/emacs-lisp/cl-macs.elc" . 14902)])

Can anyone tell me what I'm missing here?  Do I need to include
anything else in my .gnus.el?

-Emerick
-- 
-------------------------------------------------------------------------
Emerick Rogul             /\/     "how young are you, how old am i?
emerick@cs.bu.edu         /\/      let's count the rings around my eyes."
------------------------------------------------- 'i will dare', the mats



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

* Re: Error in spam-setup-widening when I hit 'g'
  2003-03-07 16:51 Error in spam-setup-widening when I hit 'g' Emerick Rogul
@ 2003-03-07 17:28 ` Ted Zlatanov
  2003-03-07 18:40   ` Emerick Rogul
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2003-03-07 17:28 UTC (permalink / raw)


On Fri, 07 Mar 2003, emerick@cs.bu.edu wrote:
> I'm using the latest gnus out of CVS.  I configured spam.el to use
> Bogofilter with the following lines in my .gnus.el:
> 
> (require 'spam)
> (setq spam-use-bogofilter t)

No problems so far.

> When I hit 'g' in gnus, I now get the following error message:
> 
> spam-setup-widening: Invalid function: (macro . #[(&optional result)
> ("/usr/local/share/emacs/21.1/lisp/emacs-lisp/cl-macs.elc" . 15040) nil 3
> ("/usr/local/share/emacs/21.1/lisp/emacs-lisp/cl-macs.elc" . 14902)])
> 
> Can anyone tell me what I'm missing here?  Do I need to include
> anything else in my .gnus.el?

Well, the function uses the CL package, and it's pretty simple:

(defun spam-setup-widening ()
  (dolist (check spam-list-of-statistical-checks)
    (when (symbol-value check)
      (setq nnimap-split-download-body t)
      (return))))

I have not tested it under Emacs 21.1, however, and the problem seems
to be there.

I think I'll use dolist without (return); change committed to CVS -
see if the latest spam.el works better for you.  

I have to modify that function eventually anyhow, to avoid the
nnimap-split-download-body interaction (that's in a separate thread).

Thanks
Ted



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

* Re: Error in spam-setup-widening when I hit 'g'
  2003-03-07 17:28 ` Ted Zlatanov
@ 2003-03-07 18:40   ` Emerick Rogul
  2003-03-07 19:47     ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Emerick Rogul @ 2003-03-07 18:40 UTC (permalink / raw)


Ted Zlatanov writes:

> I think I'll use dolist without (return); change committed to CVS -
> see if the latest spam.el works better for you.

That seems to have fixed it, thanks!

-Emerick
-- 
-------------------------------------------------------------------------
Emerick Rogul             /\/     "how young are you, how old am i?
emerick@cs.bu.edu         /\/      let's count the rings around my eyes."
------------------------------------------------- 'i will dare', the mats



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

* Re: Error in spam-setup-widening when I hit 'g'
  2003-03-07 18:40   ` Emerick Rogul
@ 2003-03-07 19:47     ` Ted Zlatanov
  0 siblings, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2003-03-07 19:47 UTC (permalink / raw)


On Fri, 07 Mar 2003, emerick@cs.bu.edu wrote:
> Ted Zlatanov writes:
> 
>> I think I'll use dolist without (return); change committed to CVS -
>> see if the latest spam.el works better for you.
> 
> That seems to have fixed it, thanks!

Considering that the list of statistical spam checks is small this is
no big deal, but I'm somewhat curious why cl.el in Emacs 21.1 doesn't
like (return) - in case I need to use it later.

Ted



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

end of thread, other threads:[~2003-03-07 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-07 16:51 Error in spam-setup-widening when I hit 'g' Emerick Rogul
2003-03-07 17:28 ` Ted Zlatanov
2003-03-07 18:40   ` Emerick Rogul
2003-03-07 19:47     ` 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).