Eric M. Ludlam writes:
projectile:cedet-1.0pre7> make EMACS="xemacs
--no-autoloads" utest
xemacs --no-autoloads -batch --no-site-file -l "common/cedet.el" -f
cedet-utest-batch
Symbol's function definition is void: dolist
xemacs exiting
dolist is a macro from the Common Lisp package which is in core. Try
compiling your tests, or explicitly load cl-macs if compiling is a bad
idea for some reason.
I was looking for some flag that disabled "extra" packages,
but left
useful things like the common lisp libraries active.
"Useful" is a problematic word here. Everybody will think differently....
Now, everything in the core distribution *is* active. Much of Common
Lisp is in C in XEmacs. What you're missing are the *macros*, which
are deliberately split out because they're normally expanded when
compiled, and their definitions not needed at runtime. This is a very
special case (probably unique, in fact; cl-macs is the only non-dumped
core library I know of that can't be required -- there's no provide).
Anything else that shows up missing would also show up as a missing
require (ie, "function not known to be defined" warning) at compile
time. Just add the requires, in the tests, or even in CEDET itself.
Note that -no-autoloads doesn't "disable" anything. It just forces
you to do an explicit require to use package functionality.
ie - a --basic-packages-only flag or some-such that left off the
old jde and ecb. I could then document how users could run the
tests without having to resort to logging in as root.
What does logging in as root have to do with anything? XEmacs doesn't
behave any differently in that case, except for user-specific
initializations. If it does, try Mike's suggestion of -vanilla, which
will pick up the Common Lisp macros' autoloads, but give you a clean
environment, with no user files and no site (default and site-start)
libraries.
The JDE installed with my XEmacs uses an old version of Semantic.
JDE
shouldn't care,
Have you tested that by disabling the test?
but when it loads, it throws an error because the version of CEDET
is not the specific version it wants.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta