From: Magnus Henoch <mange@freemail.hu>
Subject: Don't wait for sa-learn
Date: Sat, 18 Feb 2006 14:40:29 +0100 [thread overview]
Message-ID: <87fymgu6nm.fsf@freemail.hu> (raw)
[-- Attachment #1: Type: text/plain, Size: 227 bytes --]
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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 286 bytes --]
--- 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)))))))
[-- Attachment #3: Type: text/plain, Size: 8 bytes --]
Magnus
next reply other threads:[~2006-02-18 13:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-18 13:40 Magnus Henoch [this message]
2006-03-20 19:57 ` Ted Zlatanov
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=87fymgu6nm.fsf@freemail.hu \
--to=mange@freemail.hu \
/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).