On 21 May 2001, Matt Armstrong wrote:

>    (setq bbdb/news-auto-create-p 'bbdb-ignore-most-messages-hook)
>    (setq bbdb-ignore-most-messages-alist
>        '(("From" . "@\\(openwave\\|bluemug\\|lickey\\)\\.com")))
> 
>    Problem is, I'd like to omit auto-creation for things like
>    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED],
>    etc.

Maybe it's easiest to just combine the two functions
bbdb-ignore-most-messages-hook and bbdb-ignore-selected-messages-hook
in the right way.  But that requires a little Lisp hackery, and
off-hand I couldn't see what would be the return values of the two
functions.  Suppose the function returns nil if the msg was ignored
and non-nil otherwise, then

(defun ma-foo ()
  (and (bbdb-ignore-most-messages-hook)
       (bbdb-ignore-selected-messages-hook)))

or something like this might do the trick.  Maybe you need to reverse
the order, or change and to or, or throw in a not.  I'm not sure.

kai
-- 
~/.signature: No such file or directory

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to