Gnus development mailing list
 help / color / mirror / Atom feed
From: "Ted Zlatanov" <tzz@lifelogs.com>
Subject: Re: Don't wait for sa-learn
Date: 20 Mar 2006 14:57:00 -0500	[thread overview]
Message-ID: <4nveu8ga9f.fsf@asimov.bwh.harvard.edu> (raw)
In-Reply-To: <87fymgu6nm.fsf@freemail.hu> (Magnus Henoch's message of "Sat, 18 Feb 2006 14:40:29 +0100")

On 18 Feb 2006, mange@freemail.hu wrote:

> I use spamassassin for exit processing of spam and ham messages in my
> mail groups.  This takes a bit of time, during which I can't use Emacs
> for anything else.  Here is a patch that makes Gnus not wait for
> sa-learn to finish:
> --- orig/lisp/spam.el
> +++ mod/lisp/spam.el
>>> -2679,7 +2679,7 @@
> 	  (apply 'call-process-region
> 		 (point-min) (point-max)
> 		 spam-sa-learn-path
> -		 nil nil nil "--mbox"
> +		 nil 0 nil "--mbox"
> 		 (if spam-sa-learn-rebuild
> 		     (list action)
> 		   `("--no-rebuild" ,action)))))))

I don't know if this is a good idea.  If you submit multiple jobs at
once, does sa-learn do the right thing?  I use a version heavily
customized by my ISP, so I don't know if the vanilla SpamAssassin will
work.

Ted



  reply	other threads:[~2006-03-20 19:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18 13:40 Magnus Henoch
2006-03-20 19:57 ` Ted Zlatanov [this message]
2006-03-20 21:23   ` Magnus Henoch
2006-03-20 21:43     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4nveu8ga9f.fsf@asimov.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).