Hi all,
while trying to build the latest BBDB-2.3 (today's tarball) I ran into
something that confused me _a lot_, at least until I realized what was
happening.
Basically, I did a "configure" and then typed "make all". The build
went along fine until it came to bbdb-vm.elc:
emacs ... [snip] ... -f batch-byte-compile bbdb-vm.el
Loading vm-version...
Loading vm...
At this point the build was hung. Or so I thought, until I
accidentally hit Return. To which it responded:
Please answer yes or no.
Hmmm. A bit puzzled, but with a brave heart I answered yes and pressed
Return again. The build continued and finished fine.
Now, the 1 million dollar question is of course "what was that question"?
... ;-)
The answer turns out to be:
Symbolic link to CVS-controlled source file; follow link? (yes or no)
The file in question was my ~/.bbdb. It is a symbolic link because I
maintain my BBDB using CVS. IMHO it doesn't make much sense that BBDB
should need to load my ~/.bbdb just to byte compile a file.
The offending piece of code is the following, from bbdb-snarf.el:
(defcustom bbdb-snarf-web-prop
(if (member (list "www") (bbdb-propnames))
'www
nil)
"What property bbdb should use for the web, or nil to not detect web URLs."
:group 'bbdb
:type 'symbol)
The call to `bbdb-propnames' is what loads the BBDB database.
Couldn't it always default to 'www? Or at least it should not be
evaluated at compile time.
Cheers,
-- Urban
--- bbdb-snarf.el.orig Sun Mar 4 16:19:23 2001
+++ bbdb-snarf.el Sun Mar 4 16:20:32 2001
@@ -51,9 +51,7 @@
"regexp matching zip.")
(defcustom bbdb-snarf-web-prop
- (if (member (list "www") (bbdb-propnames))
- 'www
- nil)
+ 'www
"What property bbdb should use for the web, or nil to not detect web URLs."
:group 'bbdb
:type 'symbol)
_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/