Gnus development mailing list
 help / color / mirror / Atom feed
From: Alex Schroeder <alex@gnu.org>
Subject: bug: enabling adaptive scoring via score file doesn't work
Date: Fri, 03 Aug 2001 20:52:55 +0200	[thread overview]
Message-ID: <m2u1zpynzs.fsf@snail.nowhere.ch> (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/


             reply	other threads:[~2001-08-03 18:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-03 18:52 Alex Schroeder [this message]
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

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=m2u1zpynzs.fsf@snail.nowhere.ch \
    --to=alex@gnu.org \
    /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).