emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#39780: closed ([PATCH] Mention 'spam-stat-process-directory-age' in


From: GNU bug Tracking System
Subject: bug#39780: closed ([PATCH] Mention 'spam-stat-process-directory-age' in the documentation)
Date: Sat, 18 Apr 2020 15:19:01 +0000

Your message dated Sat, 18 Apr 2020 17:19:12 +0200
with message-id <address@hidden>
and subject line Re: bug#39780: [PATCH] Mention 
'spam-stat-process-directory-age' in the documentation
has caused the debbugs.gnu.org bug report #39780,
regarding [PATCH] Mention 'spam-stat-process-directory-age' in the documentation
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
39780: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39780
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation Date: Tue, 25 Feb 2020 13:58:12 +0100
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'.
---
 doc/misc/gnus.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 424e15bc6d..718e269fc8 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -25668,6 +25668,13 @@ Creating a spam-stat dictionary
 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
-- 
2.25.1




--- End Message ---
--- Begin Message --- Subject: Re: bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation Date: Sat, 18 Apr 2020 17:19:12 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
On Sat, 18 Apr 2020 15:29:46 +0300
Eli Zaretskii wrote:

>> Any reason not to include this in emacs-27?
>
> Documentation changes are always OK on the release branch, if they
> pertain to features that exist on the branch.

Thank you; pushed to emacs-27:

2019-07-31T09:51:09+02:00!address@hidden
52288f4b66 (Mention 'spam-stat-process-directory-age' in the documentation)
https://git.sv.gnu.org/cgit/emacs.git/commit/?id=52288f4b66

-- 
Štěpán


--- End Message ---

reply via email to

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