Re: Confure bugs/misfeatures?

2005-08-11 Thread Evil Boris

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/


Re: Confure bugs/misfeatures?

2005-08-11 Thread Evil Boris

Evil Boris <[EMAIL PROTECTED]> writes:

> I ran configure like this
>
>   ./configure --enable-vm=no --enable-rmail=yes
>
> and in main Makefile I get:
>
>   all: Makefile bbdb info rmail vm  gnus
>
> shouldn't vm be omitted?  Or perhaps I do not understand what "enable"
> option is intended to accomplish.  I did find a line in configure that
> sets BBDB_VM to "vm" is the option is set, but no line that sets it to
> the empty string otherwise.  Is that a bug?

Perhaps replacing:

===
# Check whether --with-vm-dir or --without-vm-dir was given.
if test "${with_vm_dir+set}" = set; then
  withval="$with_vm_dir"

   BBDB_VM=vm
  VMDIR="${withval}"

fi;


# Various MTAs
# Default RMAIL & Gnus to on
enable_gnus=gnus
# Check whether --enable-vm or --disable-vm was given.
if test "${enable_vm+set}" = set; then
  enableval="$enable_vm"
  BBDB_VM=vm
fi;
===

by 

===
# Check whether --with-vm-dir or --without-vm-dir was given.
if test "${with_vm_dir+set}" = set; then
  withval="$with_vm_dir"

   BBDB_VM=vm
  VMDIR="${withval}"
else
  BBDB_VM=
fi;


# Various MTAs
# Default RMAIL & Gnus to on
enable_gnus=gnus
# Check whether --enable-vm or --disable-vm was given.
if test "${enable_vm+set}" = set; then
  enableval="$enable_vm"
  BBDB_VM=vm
else
  BBDB_VM=
fi;
===

is a good idea?



---
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/


Confure bugs/misfeatures?

2005-08-11 Thread Evil Boris

I ran configure like this

  ./configure --enable-vm=no --enable-rmail=yes

and in main Makefile I get:

  all: Makefile bbdb info rmail vm  gnus

shouldn't vm be omitted?  Or perhaps I do not understand what "enable"
option is intended to accomplish.  I did find a line in configure that
sets BBDB_VM to "vm" is the option is set, but no line that sets it to
the empty string otherwise.  Is that a bug?

I also get repeated 

  Optional package bbdb-srv skipped - gnuserv not found

msgs.  I looked at the code and it seem to execute the following to
byte-compile bbdb-srv:

(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")))

I found similar code inside bbdb-srv.el file.  I will not pretend to
understand what this does.  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?

--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/