I have Emacs Starter Kit installed. When I try to install and run ECB it does not work.
What is wrong? How to make ECB work with Emacs Starter Kit?
ECB installation
I've tried two ways:
- Adding
ecb
tomy-packages
list as described here - Installing
ecb
withlist-packages
command
Both ways give the same result. During the installation I got a lot of warnings like
In ecb-test-with-original-advice-set:
ecb-advice-test.el:122:16:Warning: reference to free variable `ecb-version'
In ecb-analyse-jump-to-tag:
ecb-analyse.el:443:24:Warning: `interactive-p' is an obsolete function (as of
23.2); use `called-interactively-p' instead.
Total size of the file is 807 lines and I don't know how to add it here keeping the post readable :)
ECB usage
When I try to start ECB by adding (require 'ecb)
to ~/.emacs.d/$USER.el
the following error occurs at Emacs start:
File error: Cannot open load file, ecb
The variable load-path
does not contain the path to ecb files. When I start Emacs without (require 'ecb)
there is no errors and load-path
do contain the string"/home/maksim/.emacs.d/elpa/ecb-2.40"
. Adding the following line
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/ecb-2.40"))
makes Emacs start without errors, but ECB still not work and ecb-activate
acts in the way described below.
If I try to start ECB by calling ecb-activate
I see the following in the *Messages*
buffer:
ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar <unknown
version>).
ecb-activate-internal: Symbol's value as variable is void: stack-trace-on-error
If I add the following line to ~/.emacs.d/$USER.el
(setq stack-trace-on-error t)
then ecb-activate
responds the following
ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar <unknown
version>).
All requirements for ECB 2.40 fulfilled - Enjoy it!
The ECB is now deactivated.
ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the basic setup
of ECB. (error-type: void-function, error-data:
(ecb-enable-own-temp-buffer-show-futition))
Version information
- GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.0)
of 2011-12-06 on pluot, modified by Debian - emacs-starter-kit 2.0.3
- ecb 2.40