Hi All,

I'd be very grateful for help on a most frustrating problem when upgrading to
bbdb 2.2 from 2.00.06.

I installed the new BBDB files, compiled them, and then changed the entry in my
.emacs to point to the new directory (I'm using NT Emacs)

Here's the init bit from that file (All I have changed from the previous version
is to point at a new directory):

,----
| (setq load-path (cons (expand-file-name "e:/Emacs/bbdb-2.2/lisp") load-path))
| (require 'bbdb)
| (bbdb-initialize 'gnus 'message 'sc 'w3)
| (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
`----

Near the end of my .emacs I have the following to rebind M-TAB to TAB when in Gnus, as 
the
default M-TAB is used by the OS:

,----
| ;; From Shenghuo Zhu on the Gnus mailing list
| ;; Only auto-complete when in an address header
| (defun my-bbdb-tab-complete ()
|   (interactive)
|   (if (mail-abbrev-in-expansion-header-p)
|       (bbdb-complete-name)
|     (message-tab)))
| 
| (define-key message-mode-map [tab] 'my-bbdb-tab-complete)
`----

But every time I start Emacs with the new bbdb I get the error:

Error in init file: Symbol's value as variable is void: message-mode-map

If I change the directory to point back to the old installation, I get no
errors, and everything works fine.

What am I doing wrong?

Cheers,
Ian

-- 
fortune says:

To err is human, but I can REALLY foul things up.

~~~~~~~~~~~~Made in Ireland using GNU Emacs~~~~~~~~~~~~
                Available *free* from:
                  http://www.gnu.org
http://www.cs.washington.edu/homes/voelker/ntemacs.html
              http://www.gnusoftware.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 





_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to