From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62019 Path: news.gmane.org!not-for-mail From: Magnus Henoch Newsgroups: gmane.emacs.gnus.general Subject: Don't wait for sa-learn Date: Sat, 18 Feb 2006 14:40:29 +0100 Message-ID: <87fymgu6nm.fsf@freemail.hu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1140270283 13236 80.91.229.2 (18 Feb 2006 13:44:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 13:44:43 +0000 (UTC) Original-X-From: ding-owner+m10547@lists.math.uh.edu Sat Feb 18 14:44:40 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 1FASNz-0005mv-4o for ding-account@gmane.org; Sat, 18 Feb 2006 14:44:31 +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 1FASNr-0001Rg-00; Sat, 18 Feb 2006 07:44:23 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FASKX-0001Ra-00 for ding@lists.math.uh.edu; Sat, 18 Feb 2006 07:40:57 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FASKW-0003OJ-0y for ding@lists.math.uh.edu; Sat, 18 Feb 2006 07:40:57 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FASKU-00051J-00 for ; Sat, 18 Feb 2006 14:40:54 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FASKK-00059k-Gn for ding@gnus.org; Sat, 18 Feb 2006 14:40:44 +0100 Original-Received: from c83-248-123-63.bredband.comhem.se ([83.248.123.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Feb 2006 14:40:44 +0100 Original-Received: from mange by c83-248-123-63.bredband.comhem.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Feb 2006 14:40:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c83-248-123-63.bredband.comhem.se Mail-Copies-To: never Jabber-Id: legoscia@jabber.cd.chalmers.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:gxTtN2+hko5S9qlPbxNw9Lx4tkI= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62019 Archived-At: --=-=-= 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: --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- 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))))))) --=-=-= Magnus --=-=-=--