"Roland Winkler" <wink...@gnu.org> writes:

> On Sat Feb 15 2014 Kevin Brubeck Unhammer wrote:
>> I want the new email address I type in to be created in BBDB when I do
>> - C-x m, type in a new email address, C-c C-c
>> - or from Gnus, reply/send to some new email address, and do C-c C-c
>> 
>> I don't want new records to be created when I simply _read_ mail (then I
>> just want the effect of 'update).
>> 
>> I never want to have to manually call bbdb-create.
>
> Thanks, now I understand.  The problem was that you have
> bbdb-mua-auto-update-p bound to the function bbdb-select-message.
> The return value of this function is bbdb-update-records-p
> which you bind again to a function.  The bottom line is that
> bbdb-update-records needs to evaluate its arg update-p twice.
> This should be fixed with the patch described below.
>
> Does it work for you?

If I exchange 'create for t in my lambda, it does, thanks :-)

But I think perhaps 'create should be part of the list here:

((not (memq update-p '(search update query nil)))
         (error "update-p ill-defined: %s" update-p))

?


-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C

Attachment: pgpkTdW0MpHqc.pgp
Description: PGP signature

------------------------------------------------------------------------------
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