Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: new spam.el
Date: Tue, 01 Oct 2002 08:31:28 +0900	[thread overview]
Message-ID: <yotlofaf8373.fsf@jpl.org> (raw)
In-Reply-To: <m3fzvrpe3w.fsf@heechee.beld.net>

Hi,

>>>>> In <m3fzvrpe3w.fsf@heechee.beld.net>
>>>>>	Ted Zlatanov <tzz@lifelogs.com> 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 <yamaoka@jpl.org>



  reply	other threads:[~2002-09-30 23:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 17:43 Ted Zlatanov
2002-09-30 23:31 ` Katsumi Yamaoka [this message]
2002-10-01  1:34   ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yotlofaf8373.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).