From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#39780: [PATCH] Mention 'spam-stat-process-directory-age' in the documentation Date: Sat, 18 Apr 2020 13:51:55 +0200 Message-ID: <87r1wl6mg4.fsf@gmail.com> References: <20200225125812.1221377-1-stepnem@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="116821"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 39780@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 18 13:52:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPm14-000UIZ-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 13:52:10 +0200 Original-Received: from localhost ([::1]:57064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPm13-0001vo-El for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 07:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPm0w-0001vO-S3 for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 07:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPm0v-0005SA-SB for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 07:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPm0v-0005Rd-Mx for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 07:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPm0v-0002VL-Kc for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Apr 2020 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39780 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39780-submit@debbugs.gnu.org id=B39780.15872106819577 (code B ref 39780); Sat, 18 Apr 2020 11:52:01 +0000 Original-Received: (at 39780) by debbugs.gnu.org; 18 Apr 2020 11:51:21 +0000 Original-Received: from localhost ([127.0.0.1]:42059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPm0H-0002UP-Fa for submit@debbugs.gnu.org; Sat, 18 Apr 2020 07:51:21 -0400 Original-Received: from mail-wr1-f67.google.com ([209.85.221.67]:40596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPm0F-0002U9-Ly for 39780@debbugs.gnu.org; Sat, 18 Apr 2020 07:51:20 -0400 Original-Received: by mail-wr1-f67.google.com with SMTP id k13so4787056wrw.7 for <39780@debbugs.gnu.org>; Sat, 18 Apr 2020 04:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-transfer-encoding; bh=VmXkiRayzmS02LmUYPJJBd2gOOe2K3ooEZ69mvhpc70=; b=c1le5LHiqbu7thM0AM2jnJfJZDYzDWjWbG8r7KHm3/vTpb6f0abec/9ObeQCesJlL6 M3gInjjPHcITrBnjkMrveJOtZtf3kycuDWUbfoE+eKKmRaWG8t3++eFGOX0CcCXquoAf crSM57oDDvSoa4xqX/Xx1fLhjch7g2p9nuDy8dkUWLfJsFOqqhWs8Eon2R/i0G7kx6Ou bCPp0z/Cg1wsaPbcG7Zz7e2ZdkgGZKAtUgGrduQR0fJ9oWRnEifZl/PXCUM1Bx+B91sn APVle/7GO1nP35nxeoHsxvusN0Sg7drWdUK+1w9jj0DQISvHlAAwXd1Chf36eY3wVkGW HCwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=VmXkiRayzmS02LmUYPJJBd2gOOe2K3ooEZ69mvhpc70=; b=aKwM8kfauaprcOIRuv1yplJNmconLJF9gpmMPao2FBeJDJJF4RCsUPjQ8HUPcLf0Ds TZozcMiV0DjRSVeXF5eMFim03BWu+BcEejqxpK5+KviSbrjUwkhAE/5PlaUJm1RFyxLF zpUD4YM5oL4t4605FqQfP1gCmPm/5hmxXfC3AjlIGS+zo/B/ZK2Ll3P7ZdZvh7sFDFQl 54AzWV1qof9ZJuZcXvXQ+1Py92bCPMQPLk9Va4VkvzuG4t0rkubu2l7G8zO12FiT8W/0 atgHKB4KRPE7SNtT0ZFDxO1nosQt3JfT5cGMa8MADVCrA5FXNJ+raGpm6tuCaQxkmAGm kliA== X-Gm-Message-State: AGi0PuYxHzGHrjb6ZSxLia/Qu5CMvRxt2Y+FZIewPXm3Ha5LhIOqSaCS /qvz0h93teYAEqpRlmSQ27l84ZC2 X-Google-Smtp-Source: APiQypJT0NLbpeIWUUtIolR8lKGT/9bdUdiVEcK88NPqfl/0yCLh2Uq0erpOpdNuAeZIo5I7IHIToA== X-Received: by 2002:adf:9441:: with SMTP id 59mr8554694wrq.211.1587210673454; Sat, 18 Apr 2020 04:51:13 -0700 (PDT) Original-Received: from localhost ([185.112.167.47]) by smtp.gmail.com with ESMTPSA id x18sm35004178wrs.11.2020.04.18.04.51.12 for <39780@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 04:51:13 -0700 (PDT) In-Reply-To: <20200225125812.1221377-1-stepnem@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Tue, 25 Feb 2020 13:58:12 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178561 Archived-At: On Tue, 25 Feb 2020 13:58:12 +0100 =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec 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 >=20=20 > +@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? --=20 =C5=A0t=C4=9Bp=C3=A1n