I seem to be talking to myself...  Not a good sign... :)

Evil Boris <[EMAIL PROTECTED]> writes:

> Irrespective of BBDB, I do use gnuserv and
> load it via gnuserv-compat, w/o any trouble.  There is no such beast
> as itimer in the standard Emacs 20.7, or 21.3, or current CVS, by the
> way.  Any suggestions?

Stupid me.  I actually read the comments at the beginning of
bbdb-srv.el.  Sigh...  gnuserv and itimer are required.  Apologies.

Feature request (yes, I know, I should implement it myself...):  
Add --disable-bbdb-srv to configure script.  Hmmm...  How about
changing the emacs code for generating bbdb-srv.elc to something like
this:

>From the current:
--------
(progn (or
        (fboundp (quote define-obsolete-variable-alias))
        (if (locate-library "gnuserv-compat")
            (load "gnuserv-compat" t t)))
       (if (and (locate-library "gnuserv") (locate-library "itimer"))
           (byte-compile-file "bbdb-srv.el")
         (message "Optional package bbdb-srv skipped - gnuserv not found")))
--------
To (a bit verbose, but...):
--------
(progn (or
        (fboundp (quote define-obsolete-variable-alias))
;; The short version:
        (load "gnuserv-compat" t t))
;; I guess I am not allowed to use "unless"...
       (if (not (locate-library "gnuserv"))
         (message "Optional package bbdb-srv skipped - gnuserv not found"))
       (if (not (locate-library "itimer"))
         (message "Optional package bbdb-srv skipped - itimer not found"))
       (byte-compile-file "bbdb-srv.el"))
--------

As for disabling building bbdb-srv.elc, this seems to need more
changes---in configure to add the option, in top Makefile to add this
as a subsystem, in lisp/Makefile to add a rule.  Not in the next 15
minutes, though... :(

--Boris



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to