From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47073 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.gnus.general Subject: Re: spam.el and missing functions Date: Thu, 10 Oct 2002 01:09:43 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87ofa38b0o.fsf@emacswiki.org> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034204895 2308 127.0.0.1 (9 Oct 2002 23:08:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Oct 2002 23:08:15 +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 17zPw6-0000b5-00 for ; Thu, 10 Oct 2002 01:08:14 +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 17zPul-0000h5-00; Wed, 09 Oct 2002 18:06:51 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 09 Oct 2002 18:07:32 -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 SAA17697 for ; Wed, 9 Oct 2002 18:07:20 -0500 (CDT) Original-Received: (qmail 27388 invoked by alias); 9 Oct 2002 23:06:33 -0000 Original-Received: (qmail 27383 invoked from network); 9 Oct 2002 23:06:32 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 9 Oct 2002 23:06:32 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17zQi8-0005k3-00 for ; Thu, 10 Oct 2002 01:57:52 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 14 Original-NNTP-Posting-Host: dclient217-162-239-98.hispeed.ch Original-X-Trace: quimby.gnus.org 1034207872 21942 217.162.239.98 (9 Oct 2002 23:57:52 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 9 Oct 2002 23:57:52 GMT X-Face: ^BC$`[IcggstLPyen&dqF+b2'zyK#r.mU*'Nms}@&4zw%SJ#5!/7SMVjBS7'lb;QK)|IPU5U'o1'522W4TyzB3Ab*IBo^iw]l4|kUbdZuUDO6=Um-.4IzhNiV'B"@K#jy_(wW|Zbk[34flKY^|PrQ?$u2\fKg^]AY>wOX#H32i User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.90 (i686-pc-linux-gnu) Cancel-Lock: sha1:2m0g6kq1QYOdHgqHn9+4QdoixIA= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47073 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47073 Ted Zlatanov writes: > OK, I added your patch (if I understand correctly, it still autoloads > the bbdb-records function, but the bbdb-search macro needs special > treatment), but what do we do if the user does not have BBDB > installed? > > As far as I'm concerned, spam-check-bbdb can just be an empty function > without a BBDB installation, or it can raise an error. Then we wrap it in a condition-case, and redefine spam-check-bbdb as an alias to 'ignore in the error handler. Alex.