My work computer (Ubuntu 8.10) has CEDET version 1.0pre4 installed, and I'm trying to install the newest version of CEDET (1.0pre6) in my local directory (the ultimate goal, upgrading ECB to the newest version).
Unfortunately, the default debian/ubuntu installation initializes the system-wide packages for CEDET and ECB before my .emacs file is called, and the 1.0pre6 files I then try to load throw errors trying to use symbols not defined in 1.0pre4. (See this mailing list thread about someone else reporting the same problem.)
I first tried manually reloading the packages CEDET provides in my .emacs, but one of them can't be reloaded twice.
I am now trying the unload-feature
command. When I attempt to unload CEDET, I get the error:
Lisp error: (error "Loaded libraries (\"/etc/emacs/site-start.d/55ecb.el\") depend on /usr/share/emacs22/site-lisp/cedet-common/cedet.elc")
But there is no ecb
feature to unload. There is an ecb-autoloads
feature, which appears to be provided by /etc/emacs/site-start.d/55ecb.el, but the library seems to depend on it as well.
I figure I can either somehow get Emacs to unload the system-wide ECB, or I can somehow add most of the content from the system-wide configuration into the top of my .emacs file, dropping the ECB and CEDET loading.
The latter sounds messy, ugly, and unstable. I'd much rather do the former, if I knew how. Or perhaps someone has a better solution to this problem?