Commit 52288f4b authored by Štěpán Němec's avatar Štěpán Němec

Mention 'spam-stat-process-directory-age' in the documentation

I was at a loss as to why my attempt to set up spam-stat seemed to
have no effect, only to find (digging in the code) that it was
ignoring most of the sample files due to this undocumented variable.

* doc/misc/gnus.texi (Creating a spam-stat dictionary): Document
the variable 'spam-stat-process-directory-age'.  (bug#39780)
parent 067b0705
Pipeline #5304 passed with stage
in 62 minutes and 49 seconds
......@@ -25674,6 +25674,13 @@ Create non-spam statistics for every file in this directory. Every
file is treated as one non-spam mail.
@end defun
@defvar spam-stat-process-directory-age
Maximum age of files to be processed, in days. Without this filter,
re-training spam-stat with several thousand messages could take a long
time. The default is 90, but you might want to set this to a bigger
value during the initial training.
@end defvar
Usually you would call @code{spam-stat-process-spam-directory} on a
directory such as @file{~/Mail/mail/spam} (this usually corresponds to
the group @samp{nnml:mail.spam}), and you would call
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment