From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55226 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: new spam.el parameters: spam-autodetect and spam-autodetect-methods Date: Sat, 13 Dec 2003 22:50:53 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nu144kqg2.fsf@collins.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1071373920 29075 80.91.224.253 (14 Dec 2003 03:52:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2003 03:52:00 +0000 (UTC) Original-X-From: ding-owner+M3766@lists.math.uh.edu Sun Dec 14 04:51:57 2003 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 1AVNIS-000834-00 for ; Sun, 14 Dec 2003 04:51:56 +0100 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 1AVNIM-00087f-00; Sat, 13 Dec 2003 21:51:50 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AVNII-00087a-00 for ding@lists.math.uh.edu; Sat, 13 Dec 2003 21:51:46 -0600 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id 70D033A0026 for ; Sat, 13 Dec 2003 21:51:45 -0600 (CST) Original-Received: from collins.bwh.harvard.edu (collins [134.174.9.80]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id hBE3or700220 for ; Sat, 13 Dec 2003 22:50:53 -0500 (EST) Original-Received: from collins.bwh.harvard.edu (localhost [127.0.0.1]) by collins.bwh.harvard.edu (8.12.9+Sun/8.11.0) with ESMTP id hBE3oruB014256 for ; Sat, 13 Dec 2003 22:50:53 -0500 (EST) Original-Received: (from tzz@localhost) by collins.bwh.harvard.edu (8.12.9+Sun/8.12.9/Submit) id hBE3orAu014253; Sat, 13 Dec 2003 22:50:53 -0500 (EST) Original-To: Ding Mailing List 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" Mail-Followup-To: Ding Mailing List User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55226 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55226 After testing it for a week, I added the spam-autodetect and spam-autodetect-methods parameters (they have corresponding variables you can customize if you don't want to use group/topic parameters). spam-autodetect associates nil or t with groups or topics. You could use a regex to get all nntp groups, for instance. When enabled, spam-autodetect tells spam.el (through spam-find-spam, which is run when you enter a buffer) that all UNSEEN articles should be checked for spam. This is done through the spam-autodetect-methods, which can be a list of methods, or the default methods you use for spam-split anyway. spam-autodetect-methods is also associated with groups or topics in a flexible way - as a parameter or a regex. There are two things: the registry can be optionally used to make sure that messages (by ID) that have already been tagged as spam don't get rechecked, and the user can ask that ALL, not just the unseen articles, be checked when you enter the buffer. Spam autodetection is a little slow, because spam-split can currently only be invoked on one article at a time. I'll see if I can improve this, but meanwhile keep in mind that fast checks are best. Finally, the new parameters have made group/topic parameters (`G c') very slow to generate for me. Maybe it something in my setup, but it might be a bug in my customization declarations. Please let me know if it's the latter. This is the last change to spam.el I am making for No Gnus. From now on, only bug fixes and documentation updates will be made. I'll update the Gnus manual to take note of all the spam.el changes. Thanks for everyone's patience with me. Ted