From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57593 Path: main.gmane.org!not-for-mail From: "Ted Zlatanov" Newsgroups: gmane.emacs.gnus.general Subject: Re: CRM114 Mailfilter and spam.el Date: 20 May 2004 14:39:25 -0400 Organization: =?us-ascii?Q?=3D=3Fkoi8-r=3Fq=3F=3DF4=3DC5=3DCF=3DC4=3D?= =?us-ascii?Q?CF=3DD2=3D20=3DFA=3DCC=3DC1=3DD4=3DC1=3DCE=3DCF=3DD7=3F?= =?us-ascii?Q?=3D_=40_Cienfuegos?= Sender: ding-owner@lists.math.uh.edu Message-ID: <4ny8nn0wpu.fsf@lifelogs.com> References: <87isgjpggh.fsf@virgil.koldfront.dk> <877jwwfwa6.fsf@virgil.koldfront.dk> <87ptangacp.fsf@virgil.koldfront.dk> <87brm4ss95.fsf@virgil.koldfront.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085079383 21957 80.91.224.253 (20 May 2004 18:56:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 May 2004 18:56:23 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M6133@lists.math.uh.edu Thu May 20 20:56:15 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQsiF-0006gC-00 for ; Thu, 20 May 2004 20:56:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BQsi5-0000Fu-00; Thu, 20 May 2004 13:56:05 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BQsi1-0000Fp-00 for ding@lists.math.uh.edu; Thu, 20 May 2004 13:56:01 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BQsi0-0001jC-Gk for ding@lists.math.uh.edu; Thu, 20 May 2004 13:56:00 -0500 Original-Received: from mail.bwh.harvard.edu (sysblade0.bwh.harvard.edu [134.174.9.44]) by justine.libertine.org (Postfix) with ESMTP id E2CF63A0035 for ; Thu, 20 May 2004 13:55:59 -0500 (CDT) Original-Received: (qmail 2586 invoked from network); 20 May 2004 18:50:23 -0000 Envelope-Sender: tzz@lifelogs.com Envelope-Recipients: asjo@koldfront.dk, ding@gnus.org, Original-Received: from asimov.bwh.harvard.edu (HELO asimov) ([134.174.9.63]) (envelope-sender ) by mail.bwh.harvard.edu (qmail-ldap-1.03) with SMTP for ; 20 May 2004 18:50:23 -0000 Mail-Followup-To: "=?iso-8859-1?Q?Adam_Sj=F8gren?=" , ding@gnus.org Original-To: "=?iso-8859-1?Q?Adam_Sj=F8gren?=" 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: <87brm4ss95.fsf@virgil.koldfront.dk> (Adam =?iso-8859-1?Q?Sj=F8gren's_message_of?= =?iso-8859-1?Q?=09=22Tue=2C_06_Apr_2004_23=3A36=3A54_+0200=22=29?= User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57593 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57593 Adam, I comitted your patch, assuming your papers are on file (it's been a while since we discussed this). The two spam.el hunks below didn't belong in the patch, I think, and I didn't consider them carefully so let me know if I should. Also, I added a scoring function for CRM114 to spam-generic-score and fixed a few small problems. Thanks Ted @@ -776,8 +838,8 @@ (spam-ham-copy-routine (gnus-parameter-ham-process-destination gnus-newsgroup-name))) - ;; now move all ham articles out of spam groups - (when (spam-group-spam-contents-p gnus-newsgroup-name) + ;; now move all ham articles out of non-ham groups + (when (not (spam-group-ham-contents-p gnus-newsgroup-name)) (gnus-message 5 "Moving ham messages from spam group") (spam-ham-move-routine (gnus-parameter-ham-process-destination gnus-newsgroup-name)))) @@ -859,7 +921,7 @@ (gnus-check-backend-function 'request-move-article gnus-newsgroup-name)) (respool-method (gnus-find-method-for-group gnus-newsgroup-name)) - article mark todo deletep respool) + article mark deletep respool) (when (member 'respool groups) (setq respool t) ; boolean for later