Score Variables Scoring Score File Editing
A score file is an emacs-lisp
file that normally contains just a
single form. Casual users are not expected to edit these files;
everything can be changed from the summary buffer.
Anyway, if you'd like to dig into it yourself, here's an example:
(("from" ("Lars Ingebrigtsen" -10000) ("Per Abrahamsen") ("larsi\\|lmi" -50000 nil R)) ("subject" ("Ding is Badd" nil 728373)) ("xref" ("alt.politics" -1000 728372 s)) ("lines" (2 -100 nil <)) (mark 0) (expunge -1000) (mark-and-expunge -10) (read-only nil) (orphan -10) (adapt t) (files "/hom/larsi/News/gnu.SCORE") (exclude-files "all.SCORE") (local (gnus-newsgroup-auto-expire t) (gnus-summary-make-false-root empty)) (eval (ding)))
This example demonstrates most score file elements. For a different approach, see see Advanced Scoring.
Even though this looks much like lisp code, nothing here is actually
eval
ed. The lisp reader is used to read this form, though, so it
has to be valid syntactically, if not semantically.
Six keys are supported by this alist:
STRING
|
If the key is a string, it is the name of the header to perform the
match on. Scoring can only be performed on these eight headers:
Following this key is a arbitrary number of score entries, where each score entry has one to four elements.
| ||||||||||||
mark
|
The value of this entry should be a number. Any articles with a score lower than this number will be marked as read. | ||||||||||||
expunge
|
The value of this entry should be a number. Any articles with a score lower than this number will be removed from the summary buffer. | ||||||||||||
mark-and-expunge
|
The value of this entry should be a number. Any articles with a score lower than this number will be marked as read and removed from the summary buffer. | ||||||||||||
thread-mark-and-expunge
|
The value of this entry should be a number. All articles that belong to
a thread that has a total score below this number will be marked as read
and removed from the summary buffer. | ||||||||||||
files
|
The value of this entry should be any number of file names. These files are assumed to be score files as well, and will be loaded the same way this one was. | ||||||||||||
exclude-files
|
The clue of this entry should be any number of files. These files will not be loaded, even though they would normally be so, for some reason or other. | ||||||||||||
eval
|
The value of this entry will be | ||||||||||||
read-only
|
Read-only score files will not be updated or saved. Global score files should feature this atom (see Global Score Files). (Note: Global here really means global; not your personal apply-to-all-groups score files.) | ||||||||||||
orphan
|
The value of this entry should be a number. Articles that do not have
parents will get this number added to their scores. Imagine you follow
some high-volume newsgroup, like ` You can do this with the following two score file entries:
When you enter the group the first time, you will only see the new threads. You then raise the score of the threads that you find interesting (with I T or I S), and ignore (C y) the rest. Next time you enter the group, you will see new articles in the interesting threads, plus any new threads. I.e.---the orphan score atom is for high-volume groups where there exist a few interesting threads which can't be found automatically by ordinary scoring rules. | ||||||||||||
adapt
|
This entry controls the adaptive scoring. If it is | ||||||||||||
adapt-file
|
All adaptive score entries will go to the file named by this entry. It will also be applied when entering the group. This atom might be handy if you want to adapt on several groups at once, using the same adaptive file for a number of groups. | ||||||||||||
local
|
The value of this entry should be a list of |