(gnus-default-adaptive-score-alist): Set defaults
authorReiner Steib <Reiner.Steib@gmx.de>
Tue, 25 Oct 2005 19:28:12 +0000 (19:28 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Tue, 25 Oct 2005 19:28:12 +0000 (19:28 +0000)
depending on gnus-score-decay-constant.

lisp/ChangeLog
lisp/gnus-score.el

index 394de17..acec605 100644 (file)
@@ -1,5 +1,8 @@
 2005-10-25  Reiner Steib  <Reiner.Steib@gmx.de>
 
+       * gnus-score.el (gnus-default-adaptive-score-alist): Set defaults
+       depending on gnus-score-decay-constant.
+
        * encrypt.el (encrypt-insert-file-contents)
        (encrypt-write-file-contents): Don't use `gnus-message'.
 
index febdc26..a15007d 100644 (file)
@@ -225,13 +225,22 @@ This variable allows the same syntax as `gnus-home-score-file'."
                 (function :value fun)))
 
 (defcustom gnus-default-adaptive-score-alist
-  '((gnus-kill-file-mark)
+  `((gnus-kill-file-mark)
     (gnus-unread-mark)
-    (gnus-read-mark (from 3) (subject 30))
-    (gnus-catchup-mark (subject -10))
-    (gnus-killed-mark (from -1) (subject -20))
-    (gnus-del-mark (from -2) (subject -15)))
-  "*Alist of marks and scores."
+    (gnus-read-mark
+     (from , (+ 2 gnus-score-decay-constant))
+     (subject , (+ 27 gnus-score-decay-constant)))
+    (gnus-catchup-mark
+     (subject , (+ -7 (* -1 gnus-score-decay-constant))))
+    (gnus-killed-mark
+     (from , (- -1 gnus-score-decay-constant))
+     (subject , (+ -17 (* -1 gnus-score-decay-constant))))
+    (gnus-del-mark
+     (from , (- -1 gnus-score-decay-constant))
+     (subject , (+ -12 (* -1 gnus-score-decay-constant)))))
+  "Alist of marks and scores.
+If you use score decays, you might want to set values higher than
+`gnus-score-decay-constant'."
   :group 'gnus-score-adapt
   :type '(repeat (cons (symbol :tag "Mark")
                       (repeat (list (choice :tag "Header"