all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation
@ 2020-02-25 12:58 Štěpán Němec
  2020-04-18 11:51 ` Štěpán Němec
  0 siblings, 1 reply; 4+ messages in thread
From: Štěpán Němec @ 2020-02-25 12:58 UTC (permalink / raw
  To: 39780

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






^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation
  2020-02-25 12:58 bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation Štěpán Němec
@ 2020-04-18 11:51 ` Štěpán Němec
  2020-04-18 12:29   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Štěpán Němec @ 2020-04-18 11:51 UTC (permalink / raw
  To: 39780

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation
  2020-04-18 11:51 ` Štěpán Němec
@ 2020-04-18 12:29   ` Eli Zaretskii
  2020-04-18 15:19     ` Štěpán Němec
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2020-04-18 12:29 UTC (permalink / raw
  To: Štěpán Němec; +Cc: 39780

> From: Štěpán Němec
>  <stepnem@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation
  2020-04-18 12:29   ` Eli Zaretskii
@ 2020-04-18 15:19     ` Štěpán Němec
  0 siblings, 0 replies; 4+ messages in thread
From: Štěpán Němec @ 2020-04-18 15:19 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 39780-done

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@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-18 15:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-25 12:58 bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation Štěpán Němec
2020-04-18 11:51 ` Štěpán Němec
2020-04-18 12:29   ` Eli Zaretskii
2020-04-18 15:19     ` Štěpán Němec

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.