From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62317 Path: news.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: Don't wait for sa-learn Date: 20 Mar 2006 14:57:00 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <4nveu8ga9f.fsf@asimov.bwh.harvard.edu> References: <87fymgu6nm.fsf@freemail.hu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142884676 7800 80.91.229.2 (20 Mar 2006 19:57:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Mar 2006 19:57:56 +0000 (UTC) Original-X-From: ding-owner+m10844@lists.math.uh.edu Mon Mar 20 20:57:51 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLQVc-0006Vh-F5 for ding-account@gmane.org; Mon, 20 Mar 2006 20:57:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FLQVT-0003h3-00; Mon, 20 Mar 2006 13:57:35 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FLQV1-0003gy-00 for ding@lists.math.uh.edu; Mon, 20 Mar 2006 13:57:07 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FLQUz-00046f-Dz for ding@lists.math.uh.edu; Mon, 20 Mar 2006 13:57:07 -0600 Original-Received: from clifford.bwh.harvard.edu ([134.174.9.41] helo=mail.bwh.harvard.edu) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FLQUv-0004ui-00 for ; Mon, 20 Mar 2006 20:57:01 +0100 Original-Received: (qmail 19332 invoked from network); 20 Mar 2006 19:49:53 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu ([134.174.54.119]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 20 Mar 2006 19:49:53 -0000 Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <87fymgu6nm.fsf@freemail.hu> (Magnus Henoch's message of "Sat, 18 Feb 2006 14:40:29 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62317 Archived-At: 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