The M-TAB setup in message mode doesn't seem to be working for me in
Gnu Emacs 20.7 after

  (require 'bbdb)
  (bbdb-initialize 'message)

because it sets message-load-hook to bbdb-insinuate-message, but
`message' is already loaded in the Emacs image, so message-load-hook
doesn't get called.  

The fix is for bbdb-initialize to set message-setup-hook instead, and
to work around the bug in the meantime you can just put

  (add-hook 'message-setup-hook 'bbdb-insinuate-message t)

in your startup file after the call to bbdb-initialize.


A further problem (not specific to message - it also happens with the
original mail mode), is that invoking bbdb-complete-name (M-TAB) after
the above setup alone triggers the error

  Symbol's function definition is void: cadar

The fix is for the initial load of bbdb to

  (require 'cl) 

or alternatively (to save loading the whole of `cl'), add `cadar' to
the list of defaliases in bbdb.el under the "I LOVE FSF EMACS 19.34"
comment.  [Yes, I know most people load `cl' one way or another,
although I have been relying on it getting autoloaded when required -
and as far as I can tell 19.34 has a perfectly functioning version of
it.]


Patrick

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

Reply via email to