From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46861 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: new spam.el Date: Tue, 01 Oct 2002 08:31:28 +0900 Organization: Emacsen advocacy group Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033428734 1065 127.0.0.1 (30 Sep 2002 23:32:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2002 23:32:14 +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 17wA1N-0000H1-00 for ; Tue, 01 Oct 2002 01:32:13 +0200 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 17wA17-0002WY-00; Mon, 30 Sep 2002 18:31:57 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 30 Sep 2002 18:32:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id SAA25705 for ; Mon, 30 Sep 2002 18:32:28 -0500 (CDT) Original-Received: (qmail 10351 invoked by alias); 30 Sep 2002 23:31:42 -0000 Original-Received: (qmail 10346 invoked from network); 30 Sep 2002 23:31:42 -0000 Original-Received: from unknown (HELO mars.web-hosting.com) (207.228.244.150) by gnus.org with SMTP; 30 Sep 2002 23:31:42 -0000 Original-Received: from localhost ([207.228.245.242]) by mars.web-hosting.com (8.11.1/8.11.1) with ESMTP id g8UNVe016748 for ; Mon, 30 Sep 2002 19:31:40 -0400 (EDT) Original-To: ding User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence (RC1), sparc-sun-solaris2.6) X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:eIHKiobzt6+K8OnwnBhcWz45GRY= X-Hashcash: 020930:ding@gnus.org:4f240f5164af0f8e Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46861 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46861 Hi, >>>>> In >>>>> Ted Zlatanov wrote: > I have put a new version of spam.el in the CVS repository, and updated > the ChangeLog... I got the following error while compiling new spam.el: Compiling /Work/gnus/lisp/spam.el... While compiling spam-check-bbdb in file /Work/gnus/lisp/spam.el: !! error (("net must be atomic")) It is said by the macro `bbdb-search' which requires that the 4th argument is a string or a symbol. So, I think the function `spam-check-bbdb' can be modified as follows: (defun spam-check-bbdb () "We want people, who are in bbdb not to be splitted to spam" (let ((who (message-fetch-field "from"))) (when who (setq who (regexp-quote (cadr (gnus-extract-address-components who)))) (bbdb-search (bbdb-records) nil nil who)))) -- Katsumi Yamaoka