emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 52288f4 2/2: Mention 'spam-stat-process-directory-age' in the d


From: Št?pán N?mec
Subject: emacs-27 52288f4 2/2: Mention 'spam-stat-process-directory-age' in the documentation
Date: Sat, 18 Apr 2020 11:15:28 -0400 (EDT)

branch: emacs-27
commit 52288f4b66c0a4ac8ad90c6612e651f63d33c706
Author: Štěpán Němec <address@hidden>
Commit: Štěpán Němec <address@hidden>

    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)
---
 doc/misc/gnus.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 27180f3..c8ac7f0 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
 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]