Discussion:
[VM] trouble starting vm in emacs 23
Michael
2013-09-19 00:12:07 UTC
Permalink
Running Emacs 23.4.1 on Debian testing. Downloaded bbdb 3 and vm-8.2.0b.
When trying to start vm with M-x vm, I get the following:
symbol's value as variable is void: bbdb-define-all-aliases-field

This is a new install of emacs, bbdb, and vm...nothing carried over from
previous version.

Any ideas what is wrong?

Thanks!


btw- I have bbdb working on gnus.
Uday Reddy
2013-09-19 10:31:44 UTC
Permalink
Post by Michael
Running Emacs 23.4.1 on Debian testing. Downloaded bbdb 3 and vm-8.2.0b.
symbol's value as variable is void: bbdb-define-all-aliases-field
BBDB 3 has not been released yet. You are welcome to try it, but please be
prepared to struggle. Otherwise, you are better off sticking to BBDB 2.

My setup for BBDB 3 is as follows:

(require 'bbdb)
(if (locate-library "bbdb-loaddefs")
(require 'bbdb-loaddefs
(substitute-in-file-name "$BBDBDIR/lisp/bbdb-loaddefs.el")))
(bbdb-initialize 'vm)
(setq bbdb-file "~/.bbdb3")

Cheers,
Uday
Piet van Oostrum
2013-09-22 19:12:11 UTC
Permalink
Post by Michael
Running Emacs 23.4.1 on Debian testing. Downloaded bbdb 3 and vm-8.2.0b.
symbol's value as variable is void: bbdb-define-all-aliases-field
This is a new install of emacs, bbdb, and vm...nothing carried over from previous version.
Any ideas what is wrong?
Thanks!
btw- I have bbdb working on gnus.
bbdb-define-all-aliases-field isn't used in vm, so it must be some other package or your configuration files. Do you use a bbdb addition like bbdb-vcard? A number of bbdb function names have changed between bbdb2 and bbdb3. The new name for bbdb-define-all-aliases-field is bbdb-mail-alias-field. Here is the (complete?) list of changes:

bbdb-record-putprop => bbdb-record-setfield
bbdb-record-Notes => bbdb-record-xfields
bbdb-record-set-Notes => bbdb-record-set-xfields
bbdb-record-company => bbdb-record-organization
bbdb-get-field => bbdb-record-field
bbdb-record-notes => bbdb-record-xfields
bbdb-get-field => bbdb-record-field
bbdb-record-getprop => bbdb-record-xfield
bbdb-define-all-aliases-field => bbdb-mail-alias-field
bbdb-record-raw-notes => bbdb-record-xfields
bbdb-phone-location => bbdb-phone-label
bbdb-address-location => bbdb-address-label
bbdb-address-zip => bbdb-address-postcode

There are also some cases where a bbdb field has become a list (instead
of a comma separated field) and preferably bbdb-record-field record
field (e.g. address) should be used instead of bbdb-record-<field> and
bbdb-record-set-<field> => bbdb-record-set-field
--
Piet van Oostrum <***@vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
Michael
2014-03-27 21:03:32 UTC
Permalink
Sorry for no reply. I had to move for emergency reasons.

Piet, no don't have any bbdb additions as vcard.

Also, I see that bbdb 3.1 or 3.11 is in Debian testing now, which is what I use.
Now that I have settled in new home and have my internet connection, I
will download a newer vm and bbdb and see how it goes.
Perhaps Uday is correct in that I should stay with bbdb 2.

Thanks, and will let you all know how it goes, or if I revert to v2
Post by Piet van Oostrum
Post by Michael
Running Emacs 23.4.1 on Debian testing. Downloaded bbdb 3 and vm-8.2.0b.
symbol's value as variable is void: bbdb-define-all-aliases-field
This is a new install of emacs, bbdb, and vm...nothing carried over from previous version.
Any ideas what is wrong?
Thanks!
btw- I have bbdb working on gnus.
bbdb-record-putprop => bbdb-record-setfield
bbdb-record-Notes => bbdb-record-xfields
bbdb-record-set-Notes => bbdb-record-set-xfields
bbdb-record-company => bbdb-record-organization
bbdb-get-field => bbdb-record-field
bbdb-record-notes => bbdb-record-xfields
bbdb-get-field => bbdb-record-field
bbdb-record-getprop => bbdb-record-xfield
bbdb-define-all-aliases-field => bbdb-mail-alias-field
bbdb-record-raw-notes => bbdb-record-xfields
bbdb-phone-location => bbdb-phone-label
bbdb-address-location => bbdb-address-label
bbdb-address-zip => bbdb-address-postcode
There are also some cases where a bbdb field has become a list (instead
of a comma separated field) and preferably bbdb-record-field record
field (e.g. address) should be used instead of bbdb-record-<field> and
bbdb-record-set-<field> => bbdb-record-set-field
--
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]
Loading...