The documentation string for bbdb/vm-update-records says:
A record will be created if bbdb/mail-auto-create-p is non-nil, or
if OFFER-TO-CREATE is true and the user confirms the creation.
However, a value of t for bbdb/mail-auto-create-p appears to simply
cause bbdb/vm-prompt-for-create to be called. However,
bbdb/mail-auto-create-p is not looked at in bbdb/vm-prompt-for-create
nor is it looked at again in bbdb/vm-update-records. No record seems
to get created.
In particular, the following useful hack has stopped working for me
since I upgraded to BBDB 2.32:
;;From: Robert Fenk <[EMAIL PROTECTED]>
;;Sender: [EMAIL PROTECTED]
;;To: [EMAIL PROTECTED]
;;Subject: Re: Re:misusing the bbdb, frequent contacts
;;Date: Fri, 27 Oct 2000 11:38:22 +0000
(defun bbdb/vm-force-create ()
"Force automatic adding of a bbdb entry for current message."
(interactive)
(let ((bbdb/mail-auto-create-p t)
(bbdb-message-caching-enabled nil))
(save-excursion
(vm-select-folder-buffer)
(bbdb/vm-pop-up-bbdb-buffer))))
(add-hook 'vm-reply-hook 'bbdb/vm-force-create)
I've tried to figure out how to fix the problem but the relevant
bbdb-vm.el code made my head hurt... :-)
I can modify the above hack to say:
(bbdb/vm-pop-up-bbdb-buffer t))))
and everything works almost as expected (except that I'm asked whether
I want the record created)...
Any ideas?
peace & happiness,
martin
_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/