aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorŠtěpán Němec2019-07-31 09:51:09 +0200
committerŠtěpán Němec2020-04-18 17:13:02 +0200
commit52288f4b66c0a4ac8ad90c6612e651f63d33c706 (patch)
tree3a8ffa9526a74a93c8ae7c3a53ec0578dfb542b3 /doc/misc
parent067b0705986572e42687334c4eaf32988f22f680 (diff)
downloademacs-52288f4b66c0a4ac8ad90c6612e651f63d33c706.tar.gz
emacs-52288f4b66c0a4ac8ad90c6612e651f63d33c706.zip
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)
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/gnus.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 27180f3feda..c8ac7f0a7c2 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -25674,6 +25674,13 @@ Create non-spam statistics for every file in this directory. Every
25674file is treated as one non-spam mail. 25674file is treated as one non-spam mail.
25675@end defun 25675@end defun
25676 25676
25677@defvar spam-stat-process-directory-age
25678Maximum age of files to be processed, in days. Without this filter,
25679re-training spam-stat with several thousand messages could take a long
25680time. The default is 90, but you might want to set this to a bigger
25681value during the initial training.
25682@end defvar
25683
25677Usually you would call @code{spam-stat-process-spam-directory} on a 25684Usually you would call @code{spam-stat-process-spam-directory} on a
25678directory such as @file{~/Mail/mail/spam} (this usually corresponds to 25685directory such as @file{~/Mail/mail/spam} (this usually corresponds to
25679the group @samp{nnml:mail.spam}), and you would call 25686the group @samp{nnml:mail.spam}), and you would call