Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* spam-stat-load in spam-stat.el from Oort Gnus 0.10
@ 2003-01-11 11:11 Adam Sjøgren
       [not found] ` <877kdbws79.fsf@emacswiki.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Sjøgren @ 2003-01-11 11:11 UTC (permalink / raw)


  Hi.


I've started using spam-stat.el and fancy splitting (which is really
nice, by the way!), and I've encountered a strange problem:

If I put the recommended incantation in .gnus:

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

then normal good clean email gets classified as spam. If I do a M-:
(spam-stat-score-buffer) in one of the non-spam buffers, I get score
of 1.0.

Weird.

I tried training spam-stat again, lo and behold, the same buffer now
scores 1.162711802755615e-30.

Oh, well, maybe I trained it wrong the first time. Quit Gnus, quit
XEmacs, try spam-stat-score-buffer on the same buffer again - back to
1.0!

Hmm.

Okay, lets try something silly:

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

in .gnus.

Quit XEmacs, start again: Now the score is consistently
1.162711802755615e-30 (even if I quit XEmacs and start again).

Weird, no?

The only thing I could think of[1] was to C-h v spam-stat - but that
seemed to give the same output whether I spam-stat-load'ed once or
twice.

Any ideas?


  Best regards,

   Adam

[1] Yes, that is a testament to my (still) lacking learning lisp.

-- 
 "Hmm, der er ikke særligt mange folk med                      Adam Sjøgren
  elver-ører i denne her film!"                           asjo@koldfront.dk


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

* Re: spam-stat-load in spam-stat.el from Oort Gnus 0.10
       [not found] ` <877kdbws79.fsf@emacswiki.org>
@ 2003-01-12  0:00   ` Adam Sjøgren
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Sjøgren @ 2003-01-12  0:00 UTC (permalink / raw)


On Sat, 11 Jan 2003 17:45:46 +0100, Alex Schroeder wrote:

>> Any ideas?

> There was a bug that did this and it only got fixed in CVS after
> 0.10 was released -- because I had forgotten about it and the fixed
> version has been available from the Emacs Wiki for a long time.  :(

Okay, glad to hear that - I'll remove the second one when the next
release hits the ftp-server, and enjoy the splitting :-)


  Thanks,

   Adam

-- 
 "Hmm, der er ikke særligt mange folk med                      Adam Sjøgren
  elver-ører i denne her film!"                           asjo@koldfront.dk


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

end of thread, other threads:[~2003-01-12  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-11 11:11 spam-stat-load in spam-stat.el from Oort Gnus 0.10 Adam Sjøgren
     [not found] ` <877kdbws79.fsf@emacswiki.org>
2003-01-12  0:00   ` Adam Sjøgren

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