Thursday, January 04, 2007

Emacs Code Browser ECB installation in Emacs

download ecb, eieio, semantic, speedbar and 'tar zxfv xxxx' to ~/emacs directory

modify .emacs file

[coolcode](setq load-path (append load-path '("~/emacs/eieio")))

(setq load-path (append load-path '("~/emacs/semantic")))

(setq load-path (append load-path '("~/emacs/speedbar-0.14beta1")))

(setq load-path (append load-path '("~/emacs/ecb")))

(require 'ecb)

(load "~/emacs/speedbar/speedbar.el") ;; put this one at the end of other el files. [/coolcode]


restart emacs and M-x ecb-activate. A message popup 'ECB requires speedbar[.14beta1, 0.15.9], download from:http://nchc.dl.sourceforge.net/sourceforge/cedet/speedbar-0.14beta1.tar.gz

I think there was a default speedbar there, so specify the location of speedbar.el as above.

No comments:

Post a Comment