On Thu Jun 6 2013 Kevin Brubeck Unhammer wrote:
> I want BBDB3 to search (and, if exists, add new email addresses) when
> reading mail in Gnus; and when sending mail, always create a new entry
> if it doesn't exist already. I thought
> 
> (setq bbdb-update-records-p 'update
>       bbdb/message-update-records-p 'create)
> 
> would do it, but it seems like bbdb/message-update-records-p is
> not used by any of the code.

bbdb/message-update-records-p is just a fallback, see the docstring
of this variable.  You could make the value of bbdb-update-records-p
a function (untested)

(setq bbdb-update-records-p
      (lambda ()
        (let ((mua (bbdb-mua)))
          (cond ((eq mua 'gnus) 'update)
                ((eq mua 'message) 'create)
                (t 'search)))))

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to