Hello,
When using MH-E and setting bbdb/mail-auto-create-p to something that
isn't t (one of the hooks or nil), two successive invocations of
bbdb/mh-update-record (e.g., by pressing 'i' twice) will cause the error
"wrong type argument: arrayp, nil".
Here's the backtrace:
#[(record) "<bytecode>" [record invalid 8 3 t] 2](nil)
mapc(#[(record) "<bytecode>" [record invalid 8 3 t] 2] (nil))
bbdb-message-cache-lookup(11637628)
bbdb/mh-update-record(nil)
bbdb/mh-pop-up-bbdb-buffer(nil)
bbdb/mh-update-record()
run-hooks(mh-show-hook)
mh-show-msg(nil)
mh-show()
mh-inc-folder(nil)
call-interactively(mh-inc-folder)
The problem seems to be that bbdb-encache-message doesn't check for an
empty record and caches it after the first call:
ELISP> bbdb-message-cache
((11637628 nil))
which causes the error to occur the second time. The fix:
--- bbdb.el 2003-02-12 14:47:21.683889000 -0600
+++ bbdb.el.new 2003-02-15 02:16:36.114025000 -0600
@@ -2933,6 +2933,7 @@
"Cache the BBDB-RECORDS for a message identified by MESSAGE-KEY and
return them."
(and bbdb-message-caching-enabled
+ (car bbdb-records)
(add-to-list 'bbdb-message-cache (cons message-key bbdb-records))
(notice-buffer-with-cache (current-buffer)))
bbdb-records)
Dan
--
/^Dan Debertin$/ |
[EMAIL PROTECTED] |
www.nodewarrior.org |
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/