On Tuesday, July 22, 2003 at 10:33:53, Vladimir G. Ivanovic wrote:
> I set manually setq bbdb/mail-auto-create-p to 'prompt (the symbol),
> but it still didn't prompt. (I had used customize before.) I also
> tried 'bbdb-prompt-for-create and 'prompt-for-create but they too
> acted like
> t.
>
> The code in funtion bbdb-update-records in bbdb-com.el doesn't
> appear to me to do what the documentation says, but that could be
> because I just have a poor understanding of lisp.
>
> If it's not operator error, let me know if you'd like me to submit a
> bug report.
MHE code has not been tested by me nor it got the
enhancements (bbdb-update-records) found in the other MUAs
(vm, gnus), since I did not use it personally ;c)
Could you try the patch below? (Save this mail in the
bbdb/lisp dir and do a "patch < MAILFILE", remove the
bbdb.elc and reload bbdb.el)
Robert
Index: bbdb.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb.el,v
retrieving revision 1.211
diff -c -r1.211 bbdb.el
*** bbdb.el 25 Jun 2003 15:57:37 -0000 1.211
--- bbdb.el 23 Jul 2003 08:06:42 -0000
***************
*** 3153,3160 ****
(if (or (null name) (and (stringp name) (string= "" name)))
(if (string-match "[EMAIL PROTECTED]" net)
(setq name (bbdb-clean-username (match-string 0 net)))))
! (setq record (if (or (null
! (bbdb-invoke-hook-for-value prompt-to-create-p))
(bbdb-y-or-n-p
(format "%s is not in the db. Add? "
(or name net))))
--- 3153,3162 ----
(if (or (null name) (and (stringp name) (string= "" name)))
(if (string-match "[EMAIL PROTECTED]" net)
(setq name (bbdb-clean-username (match-string 0 net)))))
! (setq record (if (or (if prompt-to-create-p
! (null
! (bbdb-invoke-hook-for-value
! prompt-to-create-p)))
(bbdb-y-or-n-p
(format "%s is not in the db. Add? "
(or name net))))
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/