diff options
| author | Štěpán Němec | 2019-07-31 09:51:09 +0200 |
|---|---|---|
| committer | Štěpán Němec | 2020-04-18 17:13:02 +0200 |
| commit | 52288f4b66c0a4ac8ad90c6612e651f63d33c706 (patch) | |
| tree | 3a8ffa9526a74a93c8ae7c3a53ec0578dfb542b3 /doc/misc | |
| parent | 067b0705986572e42687334c4eaf32988f22f680 (diff) | |
| download | emacs-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.texi | 7 |
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 | |||
| 25674 | file is treated as one non-spam mail. | 25674 | file is treated as one non-spam mail. |
| 25675 | @end defun | 25675 | @end defun |
| 25676 | 25676 | ||
| 25677 | @defvar spam-stat-process-directory-age | ||
| 25678 | Maximum age of files to be processed, in days. Without this filter, | ||
| 25679 | re-training spam-stat with several thousand messages could take a long | ||
| 25680 | time. The default is 90, but you might want to set this to a bigger | ||
| 25681 | value during the initial training. | ||
| 25682 | @end defvar | ||
| 25683 | |||
| 25677 | Usually you would call @code{spam-stat-process-spam-directory} on a | 25684 | Usually you would call @code{spam-stat-process-spam-directory} on a |
| 25678 | directory such as @file{~/Mail/mail/spam} (this usually corresponds to | 25685 | directory such as @file{~/Mail/mail/spam} (this usually corresponds to |
| 25679 | the group @samp{nnml:mail.spam}), and you would call | 25686 | the group @samp{nnml:mail.spam}), and you would call |