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))
string
Subject
, From
, Date
, Message-ID
,
References
, To
, Cc
, Chars
, Lines
,
Xref
, Extra
, Followup
, Thread
Chars
and Lines
mean the size and the number of lines of
the message, respectively. Extra
, Followup
, Thread
are 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:
lines
and 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.
r
and R
(regexp),
s
and S
(substring), e
and E
(exact match),
as well as f
and F
(fuzzy) can be used.
R
, S
, E
, and F
are case sensitive.
<
, >
, =
, >=
, <=
.
From
header, 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 From
except for f
.
And a `Followup' entry is automatically appended to the score file.
Message-ID
x.
A `Thread' entry is automatically appended for each article that
has x in the References
header.
You can make sure the whole thread including messages that does not have
all ancestors Message-ID
in References
is scored.
You can use the same types as References
except for f
.
And a `Thread' entry is automatically appended to the score file.
Extra
.
This specifies headers to be matched other than standard headers like
Subject
and From
.
Note that you should specify the header in
elmo-msgdb-extra-fields
also.
Therefore it does not work in folders where extension headers cannot be
retrieved.
mark
wl-summary-mark-below
.
expunge
wl-summary-expunge-below
.
mark-and-expunge
mark
and expunge
are applied,
i.e. messages with a score less than this value is marked as read and
deleted from the summary.
target
wl-summary-target-above
.
important
wl-summary-important-above
.
Not to mention the extra
key, if lines
or xref
keys
are used, you need to set elmo-msgdb-extra-fields
.
(setq elmo-msgdb-extra-fields '("lines" "xref"))
There are other restrictions as shown below:
references
key 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 elmo-msgdb-extra-fields
settings
Go to the first, previous, next, last section, table of contents.