On Mon, 2009-08-31 at 11:24 +0900, Stephen J. Turnbull wrote:
Eric M. Ludlam writes:
> Is there a command-line or other setting I can use to disable packages
> that are part of an XEmacs install like this so I can effectively run
> these tests, or allow users to do an install on top of what is in
> XEmacs?
I'm not sure what you're asking for; running tests is very different
from what users would want. And package installation is a distro
issue, we can't control that. You can get rid of autoloads with the
--no-autoloads switch, but that doesn't prevent the old packages from
appearing in load-path if they are found.
It sounds like what you want is for your versions to shadow XEmacs
packages distributed by Ubuntu. To do that, you could (1) install
them into an XEmacs package hierarchy in ~/.xemacs/ (warning, this may
not work on some Windows installations because of the confusion about
%HOME% on older Windows systems), (2) manipulate load-path directly,
or (3) set up a separate "early" package hierarchy. I'm not sure
whether (3) is available at runtime; IIRC in fact ~/.xemacs/ is the
only early package hierarchy supported in a default install. It is
possible to reconfigure XEmacs for multiple early package hierarchies,
but that requires a rebuild. If you want to explore that possibility,
read the XEmacs Info node "(xemacs)Startup Paths", first.
If you want JDE to use *old* versions while CEDET uses *new* versions,
you're out of luck. There is no way to order load-path to make that
work.
Thanks for the multiple replies.
I have some default install of XEmacs which loads a bunch of deb* things
when running in batch mode. If I run my usual setup for CEDET, things
work well shadowing existing packages, except for JDE, which is not a
part of CEDET. I did fiddle with the package manager which works ok
with an interactive XEmacs. It doesn't work when I run in batch mode,
which is how I run my test suites.
For myself, I will just log in as root and "fix" it. What I'd prefer is
the ability for the many users who download CEDET to also run the
regression tests on various flavors of Emacs. If they only care about c
++, then the fact that jde gets in the way is an annoyance, and prevents
the tests from finishing.
I will try to detect and skip the test in this case, but get it running
for me so I can keep the XEmacs support working.
Thanks
Eric
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta