Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* "Error in spam-stat-split-fancy"
@ 2003-01-22  8:13 Bjorn Wiren
       [not found] ` <33smvl2ujd.fsf@cbe.ericsson.se>
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Wiren @ 2003-01-22  8:13 UTC (permalink / raw)


Since I started using spam-stat-split-fancy I keep getting

      Error in spam-stat-split-fancy: (wrong-type-argument stringp nil)

each time I scan for new messages. I suppose it means spam-stat-split-fancy
will not do anything useful for me :-(

Setting `debug-on-error' to `t' doesn't give anything,

Sometimes (less frequently, maybe unrelated?) I also see

     Generating summary...
     Warning: reference to free variable mark
     Warning: reference to free variable uncached
     Warning: reference to free variable score
     Warning: reference to free variable default-high
     Warning: reference to free variable default-low

but that is maybe harmless? At least I haven't noticed any problems
due to this.

I'm on Oort 0.13 + Xemacs 21.4.11.

Cheers
-- 
Björn Wirén


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

* Re: "Error in spam-stat-split-fancy"
       [not found]   ` <4n1y35qguy.fsf@lockgroove.bwh.harvard.edu>
@ 2003-01-23  8:16     ` Bjorn Wiren
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Wiren @ 2003-01-23  8:16 UTC (permalink / raw)


Ted Zlatanov <tzz@lifelogs.com> writes:

> On Wed, 22 Jan 2003, bjorn.wiren+x@ericsson.com wrote:
>> Bjorn Wiren <bjorn.wiren+x@ericsson.com> writes:
>> 
>>> Since I started using spam-stat-split-fancy I keep getting
>>>
>>>       Error in spam-stat-split-fancy: (wrong-type-argument stringp
>>>       nil)
>>>
>>> each time I scan for new messages. I suppose it means
>>> spam-stat-split-fancy will not do anything useful for me :-(
>>>
>> 
>> Following up my own post:
>> 
>> The spam-stat hooks weren't installed. Doing that manually fixed the
>> problem.
>> 
>> "Customize spam-stat, Install Hooks" says "This is set to nil if you
>> use spam-stat through spam.el". I assume in that case the hook
>> installation should be done elsewhere, but I can't see where.
>
> If you load spam-stat.el by itself, the hooks should be installed
> automatically.
>
> If you use spam-stat through the spam.el interface, the hooks will not
> be installed automatically.
>
> Which one are you doing,

I started out with `customize spam', among other things selecting
`gnus-group-spam-exit-processor-stat'. Is that what you mean by `use
spam-stat through the spam.el interface'? Later, I discovered that
there was a `customize spam-stat' too, so maybe I'm doing a little of
both? I have this in ~/.xemacs/custom.el now:

 '(gnus-spam-newsgroup-contents (quote (("nnml:spam" gnus-group-spam-classification-spam))))
 '(spam-stat-install-hooks t)
 '(spam-use-stat t)
 '(gnus-spam-process-newsgroups (quote (("nnml:spam" (gnus-group-spam-exit-processor-stat)))))
 '(gnus-ham-process-destinations (quote (("spam" "nnml:mail.misc"))))
 '(gnus-spam-process-destinations (quote (("misc" "nnml:spam")))))

and this in ~/.gnus:

(require 'spam)
(require 'spam-stat)
(spam-stat-load)

as well as (: spam-stat-split-fancy) in nnmail-split-fancy. Does it
look sane?

Anyway, things seem to work fine now, and I really love the concept.

>  and are you reporting a bug?

Umm, not really. Maybe the manual could spend a few words on how to
get the hooks installed.

Cheers
-- 
Björn Wirén


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

end of thread, other threads:[~2003-01-23  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22  8:13 "Error in spam-stat-split-fancy" Bjorn Wiren
     [not found] ` <33smvl2ujd.fsf@cbe.ericsson.se>
     [not found]   ` <4n1y35qguy.fsf@lockgroove.bwh.harvard.edu>
2003-01-23  8:16     ` Bjorn Wiren

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