From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48459 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: spam.el is customizable now Date: Tue, 31 Dec 2002 10:58:44 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041350290 29720 80.91.224.249 (31 Dec 2002 15:58:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 31 Dec 2002 15:58:10 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18TOmO-0007iu-00 for ; Tue, 31 Dec 2002 16:58:08 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18TOmo-0001kd-00; Tue, 31 Dec 2002 09:58:34 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 31 Dec 2002 09:59:26 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA17447 for ; Tue, 31 Dec 2002 09:59:16 -0600 (CST) Original-Received: (qmail 79513 invoked by alias); 31 Dec 2002 15:58:19 -0000 Original-Received: (qmail 79508 invoked from network); 31 Dec 2002 15:58:19 -0000 Original-Received: from ns2.beld.net (208.229.215.82) by 66.230.238.6 with SMTP; 31 Dec 2002 15:58:19 -0000 Original-Received: from heechee.beld.net (dhcp-0-30-bd-1-93-b2.cpe.beld.net [24.233.65.6]) by ns2.beld.net (Postfix) with ESMTP id E66703BA5A for ; Tue, 31 Dec 2002 10:58:17 -0500 (EST) Original-To: ding 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 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:48459 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:48459 I did this in preparation for adding the group parameters, but it turned out to be fun in itself... All the defvars are defcustom now, so you can just customize the "spam" group. There is a spam-bogofilter group under it. I renamed a few minor variables, which probably won't affect anyone, but go through the customization if you use spam.el to make sure you get the settings right. The only problem I had is in making a customizable list of marks to be considered spam/ham marks. Right now it's a list of characters, but it would be better if it was a list of mark choices, with each choice inserting the correct character in the list. The list of marks can be static, but it would be perfect if it came from the authoritative Gnus list of marks. If anyone is interested in doing this, feel free. Thanks Ted