Having just upgraded to BBDB 2.2 I've come across a bug I'd fixed in
 my own sources a while ago. When bbdb-define-all-aliases does its
 magic it uses inconsistent tests to determine whether to use
 mail-abbrevs (FSF ?) or mail-aliases (Xemacs ?).

 The first test is fine (fboundp 'mail-abbrevs). It then defines all
 the aliases, then checks to see if it works, but this time tests for
 the existence of the mail-abbrevs table. Oops. I've got one of those, 
 probably getting pulled in from ~/.abbrev_defs, but BBDB just
 (correctly) used define-mail-alias, so of course can't find what it's 
 expecting to.

 Here's a trivial patch:

odie$cvs diff
cvs server: Diffing .
Index: bbdb-com.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb-com.el,v
retrieving revision 1.75
diff -r1.75 bbdb-com.el
2159c2159
<                                      (if (boundp 'mail-abbrevs) mail-abbrevs 
mail-aliases))
---
>                                      (if (fboundp 'define-mail-abbrevs) mail-abbrevs 
>mail-aliases))



 I'm also getting some other strange behaviour that I expect is
 something I've done, rather than a bug in BBDB.
 gnus-bbdb-summary-get-author has started failing with a wrong type
 error. It looks like bbdb-search-simple is now returning something
 different from before. My own bbdb-pgp.el package suffers the same
 problem - I use bbdb-search-simple and then try and use
 bbdb-record-getprop to look up a field, but I keep getting Wrong type 
 errors that look like this:


Wrong type argument: arrayp, (["Thomas E." "Deweese" nil "Kodak" nil nil 
("[EMAIL PROTECTED]") ((creation-date . "2000-07-13") (notes . "SyncBBDB 
author") (pilot-id . "15007837") (timestamp . "2000-07-13") (timezone . "-0400") 
(x-mailer . "VM 6.72 under Emacs 20.5.1")) ["Thomas E. Deweese" nil #<marker at 20984 
in .bbdb> nil]])

 What's that stuff at the end ? Are text properties getting in somehow?

-- 
Kevin Davidson                             Decisionhouse Systems Group
Quadstone Limited 16 Chester Street,  Edinburgh,   Scotland,   EH3 7RA
Tel: +44 (0)131 220 4491                      Fax: +44 (0)131 220 4492

_______________________________________________
bbdb-info mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/bbdb-info

Reply via email to