The format of score files are the same as Gnus, and basically you can use Gnus score files as they are. But they are not fully compatible because some keys are not supported and there are Wanderlust specifics. See section `Score File Format' in The gnus Newsreader.
(("subject" ("for sale" -1000 nil s) ("profit" -1000 nil s)) ("from" ("spam@spamspamspam" -10000 nil s)) ("followup" ("my@address" 3001 nil s)) ("chars" (1000000 -10 nil >)) (important 5000) (target 3000) (mark 0) (expunge -3000))
Linesmean the size and the number of lines of the message, respectively.
Threadare described later. The rest corresponds the field of the same name. Arbitrary numbers of core entries are specified after the key. Each score entry consists of these five factors:
chars, otherwise a string.
nil, the score is permanent, and in the case of a number, the score is deleted if it does not match for days (
wl-score-expiry-days) from the date specified by this. The date is since Dec. 31, 1 B.C.
E(exact match), as well as
F(fuzzy) can be used.
Fare case sensitive.
Fromheader, and scores all follow-ups to the message. For example, it would be useful for increasing scores for follow-ups to you own article. You can use the same types as
f. And a `Followup' entry is automatically appended to the score file.
Message-IDx. A `Thread' entry is automatically appended for each article that has x in the
Referencesheader. You can make sure the whole thread including messages that does not have all ancestors
Referencesis scored. You can use the same types as
f. And a `Thread' entry is automatically appended to the score file.
Extra. This specifies headers to be matched other than standard headers like
From. Note that you should specify the header in
elmo-msgdb-extra-fieldsalso. Therefore it does not work in folders where extension headers cannot be retrieved.
expungeare applied, i.e. messages with a score less than this value is marked as read and deleted from the summary.
Not to mention the
extra key, if
are used, you need to set
(setq elmo-msgdb-extra-fields '("lines" "xref"))
There are other restrictions as shown below:
referenceskey matches the last one only.
Keys that can be seen by folder of types:
chars lines xref extra localdir,localnews Y E E E nntp (supporting xover) Y E E N (otherwise) N E E E imap4 Y E E E pop3 N E E E Y: can be seen N: cannot be seen (ignored) E: can be seen with
Go to the first, previous, next, last section, table of contents.