-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 11 Jan 2002 08:15:22 +0000 Ronan Waide wrote:

Ronan> Note that you must have VM sources to compile BBDB. A compiled
Ronan> VM is insufficient. Mind you, I'm not saying that that's where
Ronan> the problem lies!

On Fri, 11 Jan 2002 09:43:49 -0700 Matt Armstrong wrote:

Matt> Is this desirable?  Why should I install VM when I never use it,
Matt> just to get BBDB with Gnus?

[patch to comment require bbdb-vm]


Well, before you Jan 6 check-in vm wasn't necessary. In that checkin
you added these requires that aren't working if you don't have vm or
rmail installed.

The following works for me, but of course some more elaborate checking
might be needed.

Index: lisp/bbdb-hooks.el
===================================================================
RCS file: /cvsroot/bbdb/bbdb/lisp/bbdb-hooks.el,v
retrieving revision 1.68
diff -u -r1.68 bbdb-hooks.el
- --- lisp/bbdb-hooks.el  2002/01/06 22:09:42     1.68
+++ lisp/bbdb-hooks.el  2002/01/12 15:09:56
@@ -42,9 +42,9 @@
   (condition-case() (require 'gnus) (error nil))
   (condition-case () (require 'vm) (error nil))
   (autoload 'mh-show "mh-e")
- -  (require 'bbdb-vm)
- -  (require 'bbdb-gnus)
- -  (require 'bbdb-rmail))
+  (condition-case() (require 'bbdb-vm) (error nil))
+  (condition-case() (require 'bbdb-gnus) (error nil))
+  (condition-case() (require 'bbdb-rmail) (error nil)))
 
 (defvar rmail-buffer)
 (defvar mh-show-buffer)


I am not sure, but it seems to me that autoloads are more desireable,
'cause then we defer the possible need/availability check to runtime.

Greetings,
Jochen
- -- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: 44BCCD8E
        Sex, drugs and rock-n-roll
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt and GnuPG <http://www.gnupg.org/>

iD8DBQE8QFIqiJ/aUUS8zY4RAjR5AKC53JJJUXb0z8jodpHfTaeZ9DP4FgCgkVvq
HTKtlSb+HCS8PT4N2xZ0h38=
=92tH
-----END PGP SIGNATURE-----


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

Reply via email to