Gnus development mailing list
 help / color / mirror / Atom feed
* bug: enabling adaptive scoring via score file doesn't work
@ 2001-08-03 18:52 Alex Schroeder
  2001-08-17 11:18 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Schroeder @ 2001-08-03 18:52 UTC (permalink / raw)


I just updated Gnus from CVS.  Enabling adaptive scoring via my score
file doesn't work.

First, the evidence that adaptive scoring doesn't work.  Assume this
article in the summary buffer:

    03-Aug   47: Jonathan LF King     Re: undo an undo

Using "V t" I get the message:

 "No score rules apply to the current article (default score 0)."

I then check what score file is being used.  I use "V e" and my
emacs.SCORE file is opened.  (This is correct.  It is the score file I
set via topic parameters.)  It reads, more or less, like this:

(("from"
  ...
  ("Grossjohann" nil nil s))
 ("subject"
  ...
  ("sql" nil nil s))
 ("references"
  ("<m2[0-9a-z]+\\.fsf\\(_-_\\)?@.*snail\\.nowhere\\.ch>" nil nil r))
 ("message-id"
  ("<m2[0-9a-z]+\\.fsf\\(_-_\\)?@.*snail\\.nowhere\\.ch>" nil nil r))
 (adapt t)
 (adapt-file "/home/alex/News/emacs.ADAPT"))

This should switch adaptive scoring on and use the emacs.ADAPT file.
I open the emacs.ADAPT file.  It is about 35k.  I search for the
string "undo an undo".  Here it is:

(("subject" ... ("undo an undo" -6970 730699 f) ...))

But somehow, this score is not applied.

The weird thing is this, however.  I kill the article using "C-k" and
exit Gnus.  I look at the emacs.ADAPT file again.  Here it is:

(("subject" ... ("undo an undo" -7970 730699 f) ...))

This is correct!  Here is my gnus-default-adaptive-score-alist:

'(... (gnus-killed-mark (subject -1000)) ...)

Therefore, the adaptive scores are updated as I leave the group, but
when I enter the group, the scores are not applied.

Help!

Alex.
-- 
http://www.emacswiki.org/


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

end of thread, other threads:[~2001-09-01 17:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-03 18:52 bug: enabling adaptive scoring via score file doesn't work Alex Schroeder
2001-08-17 11:18 ` Lars Magne Ingebrigtsen
2001-08-18 17:47   ` Alex Schroeder
2001-08-19 15:39     ` Lars Magne Ingebrigtsen
2001-09-01 17:00   ` Alex Schroeder

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