On Fri Feb 14 2014 Kevin Brubeck Unhammer wrote:
> I had bbdb2 configured so it would 'update records on incoming mail in
> gnus and 'create new records when I sent mail with message. How do I do
> this in bbdb3? I tried both
> 
>     (setq bbdb-update-records-p nil
>           bbdb/gnus-update-records-p 'update
>           bbdb/message-update-records-p 'create)
> 
> and
>     (setq bbdb-update-records-p (lambda ()
>                                     (let ((mua (bbdb-mua)))
>                                       (message "mua: %s" mua)
>                                       (cond ((eq mua 'gnus) 'update)
>                                             ((eq mua 'message) 'create)
>                                             (t 'search))))

In what context do you want to use this (the BBDB auto update
feature or with some interactive commands)?

Possibly you want to bind the above lambda expression to (the car or
cdr of) bbdb-mua-update-interactive-p.

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to