From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50650 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Error in spam-setup-widening when I hit 'g' Date: Fri, 07 Mar 2003 12:28:35 -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: <4nzno7ulvg.fsf@lockgroove.bwh.harvard.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047058274 15415 80.91.224.249 (7 Mar 2003 17:31:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Mar 2003 17:31:14 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Fri Mar 07 18:31:12 2003 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 18rLeY-0003oB-00 for ; Fri, 07 Mar 2003 18:29:02 +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 18rLeO-00055a-00; Fri, 07 Mar 2003 11:28:52 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Mar 2003 11:29:52 -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 LAA09511 for ; Fri, 7 Mar 2003 11:29:40 -0600 (CST) Original-Received: (qmail 38540 invoked by alias); 7 Mar 2003 17:28:36 -0000 Original-Received: (qmail 38535 invoked from network); 7 Mar 2003 17:28:36 -0000 Original-Received: from clifford.bwh.harvard.edu (134.174.9.41) by 66.230.238.6 with SMTP; 7 Mar 2003 17:28:36 -0000 Original-Received: from lockgroove.bwh.harvard.edu (lockgroove [134.174.9.133]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id h27HSZj22524 for ; Fri, 7 Mar 2003 12:28:35 -0500 (EST) Original-Received: (from tzz@localhost) by lockgroove.bwh.harvard.edu (8.11.6+Sun/8.11.0) id h27HSZd05974; Fri, 7 Mar 2003 12:28:35 -0500 (EST) Original-To: ding@gnus.org 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@gnus.org In-Reply-To: (Emerick Rogul's message of "Fri, 07 Mar 2003 11:51:47 -0500") User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (usg-unix-v) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50650 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50650 On Fri, 07 Mar 2003, emerick@cs.bu.edu wrote: > I'm using the latest gnus out of CVS. I configured spam.el to use > Bogofilter with the following lines in my .gnus.el: > > (require 'spam) > (setq spam-use-bogofilter t) No problems so far. > When I hit 'g' in gnus, I now get the following error message: > > spam-setup-widening: Invalid function: (macro . #[(&optional result) > ("/usr/local/share/emacs/21.1/lisp/emacs-lisp/cl-macs.elc" . 15040) nil 3 > ("/usr/local/share/emacs/21.1/lisp/emacs-lisp/cl-macs.elc" . 14902)]) > > Can anyone tell me what I'm missing here? Do I need to include > anything else in my .gnus.el? Well, the function uses the CL package, and it's pretty simple: (defun spam-setup-widening () (dolist (check spam-list-of-statistical-checks) (when (symbol-value check) (setq nnimap-split-download-body t) (return)))) I have not tested it under Emacs 21.1, however, and the problem seems to be there. I think I'll use dolist without (return); change committed to CVS - see if the latest spam.el works better for you. I have to modify that function eventually anyhow, to avoid the nnimap-split-download-body interaction (that's in a separate thread). Thanks Ted