From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60742 Path: news.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: No Gnus doesn't like the obsolete spam syntax Date: Tue, 09 Aug 2005 19:53:20 -0700 Organization: The Eyrie Message-ID: <874q9yy02n.fsf@windlord.stanford.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123642438 26055 80.91.229.2 (10 Aug 2005 02:53:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2005 02:53:58 +0000 (UTC) Original-X-From: ding-owner+M9274=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Aug 10 04:53:52 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2gij-0003hn-Gt for ding-account@gmane.org; Wed, 10 Aug 2005 04:53:33 +0200 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 1E2gii-0005xg-01 for ding-account@gmane.org; Tue, 09 Aug 2005 21:53:32 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E2gie-0005xY-00 for ding@lists.math.uh.edu; Tue, 09 Aug 2005 21:53:28 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E2gic-0005wL-OX for ding@lists.math.uh.edu; Tue, 09 Aug 2005 21:53:26 -0500 Original-Received: from smtp3.stanford.edu ([171.67.16.138]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E2fmX-0002Do-00 for ; Wed, 10 Aug 2005 03:53:25 +0200 Original-Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.64.19.147]) by smtp3.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j7A2rK4v005094 for ; Tue, 9 Aug 2005 19:53:22 -0700 Original-Received: by windlord.stanford.edu (Postfix, from userid 1000) id AB359E792D; Tue, 9 Aug 2005 19:53:20 -0700 (PDT) Original-To: ding@gnus.org User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.17 (linux) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60742 Just a quick note in case it saves someone else some time. I used to have: (custom-set-variables '(gnus-parameters '(("^nnml:spam\\..*" (spam-contents gnus-group-spam-classification-spam) (spam-process (gnus-group-spam-exit-processor-bogofilter gnus-group-ham-exit-processor-bogofilter)))))) (with more gnus-parameters, but that's the relevant ones). This no longer works with No Gnus (version in the headers). I'm not entirely sure why, but following the manual's instructions and then fiddling a little to figure out what they really mean, the following *does* work: (custom-set-variables '(gnus-parameters '(("^nnml:spam\\..*" (spam-contents gnus-group-spam-classification-spam) (spam-process ((spam spam-use-bogofilter) (ham spam-use-bogofilter))))))) It took me a little bit to get the syntax right, since for some reason I read the manual suggestion and thought it said to replace gnus-group-spam-exit-processor-bogofilter with ('(spam spam-use-bogofilter)) literally. That just silently fails with no error message, apparently due to having one too many layers of parens. (Yes, I know you can do this all inside customize. I hate the interface for customize and also prefer to have commented configurations so that I can remember why I changed something, which means that I do a lot of writing code based directly on the manual or using customize to generate a first draft and then tweaking it.) -- Russ Allbery (rra@stanford.edu)