GNU bug report logs -
#39780
[PATCH] Mention 'spam-stat-process-directory-age' in the documentation
Previous Next
Reported by: Štěpán Němec <stepnem <at> gmail.com>
Date: Tue, 25 Feb 2020 12:59:01 UTC
Severity: minor
Tags: patch
Done: Štěpán Němec <stepnem <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39780 in the body.
You can then email your comments to 39780 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#39780
; Package
emacs
.
(Tue, 25 Feb 2020 12:59:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Štěpán Němec <stepnem <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 25 Feb 2020 12:59:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#39780
; Package
emacs
.
(Sat, 18 Apr 2020 11:52:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 39780 <at> debbugs.gnu.org (full text, mbox):
On Tue, 25 Feb 2020 13:58:12 +0100
Štěpán Němec wrote:
> 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
Any reason not to include this in emacs-27?
--
Štěpán
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#39780
; Package
emacs
.
(Sat, 18 Apr 2020 12:30:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 39780 <at> debbugs.gnu.org (full text, mbox):
> From: Štěpán Němec
> <stepnem <at> gmail.com>
> Date: Sat, 18 Apr 2020 13:51:55 +0200
>
> 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.
Thanks.
Reply sent
to
Štěpán Němec <stepnem <at> gmail.com>
:
You have taken responsibility.
(Sat, 18 Apr 2020 15:19:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Štěpán Němec <stepnem <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 18 Apr 2020 15:19:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 39780-done <at> debbugs.gnu.org (full text, mbox):
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!stepnem <at> gmail.com
52288f4b66 (Mention 'spam-stat-process-directory-age' in the documentation)
https://git.sv.gnu.org/cgit/emacs.git/commit/?id=52288f4b66
--
Štěpán
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 17 May 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.