Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: spamtrap@koldfront.dk (Adam Sjøgren)
Subject: spam-stat-load in spam-stat.el from Oort Gnus 0.10
Date: Sat, 11 Jan 2003 12:11:03 +0100	[thread overview]
Message-ID: <87d6n4lz5k.fsf@virgil.koldfront.dk> (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


             reply	other threads:[~2003-01-11 11:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-11 11:11 Adam Sjøgren [this message]
     [not found] ` <877kdbws79.fsf@emacswiki.org>
2003-01-12  0:00   ` Adam Sjøgren

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=87d6n4lz5k.fsf@virgil.koldfront.dk \
    --to=spamtrap@koldfront.dk \
    /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).