ECB installation and use
Yugliu 20020803
Note:
CEDET (Collection of Emacs Development Environment Tools)
ECB is Emacs's enhancement tool, she can provide a more complete development environment.
First, download
ECB is one of the CEDET toolkit, you can download from the following address:
http://sourceforge.net/projects/ecb/
He also needs her several packages.
Speedbar
EIEIO
Semantic
download link:
http://sourceforge.net/projects/cet/
Put these software push into the Emacs directory, my Emacs configuration directory is
/us/local/share/emacs/21.1/
Site-Lisp /
ECB
Speedbar
EIEIO
Semantic
Then configure, the order is: Speedbar Eieio Semantic ECB
Second, the configuration
Speedbar configuration
Add to Site-Lisp / Subdirs.el
(Add-to-list 'load-path "/ path / speedbar")
My is:
(Add-to-list 'loading-path "/ usr / local / share / emacs / speedbar")
Then join:
(Autoload 'Speedbar-Frame-Mode "Speedbar" "Popup A Speedbar Frame" T)
(Autoload 'Speedbar-Get-Focus "Speedbar" "Jump to Speedbar Frame" T)
(Global-set-key [(f4)] 'speedbar-get-focus)
If you use Emacs, join:
(Define-key-after (Lookup-Key Global-Map [Menu-Bar Tools])
[SpeedBar] '("Speedbar". Speedbar-frame-mode) [Calendar])
If you use Xemacs, join:
(Add-menu-button "(" Tools ")
["Speedbar" Speedbar-Frame-Mode
: Style Toggle
: SELECTED (AND (Boundp 'Speedbar-Frame)
Frame-Live-P Speedbar-Frame
(Frame-Visible-P Speedbar-Frame)]]
"-")
; TexInfo Fancy Chapter Tags
(Add-hook 'texinfo-mode-hook (require' sb-texinfo))))))
; HTML FANCY Chapter Tags
(Add-hook 'html-mode-hook (require' sb-html))))
(AutoLoad 'rpm "SB-RPM" "RPM package listing in speedbar.")
; W3 LINK LISTINGS
(Autoload 'W3-Speedbar-Buttons "SB-W3" S3 Specific Speedbar Button
")
Xemacs Emacs 20.2 previously added:
; Chapter Listings
(Autoload 'Info-Speedbar-Buttons "SB-INFO" "Info Specific Speedbarbutton Generator.")
; Folder Listings
(Autoload 'Rmail-Speedbar-Buttons "SB-RMAIL" RMail Specific Speedbar
Button generator. ")
; CURRENT Stack Display
(AutoLoad 'gud-speedbar-button "sb-gud" "gud specific speedbar button
")
Initial join
(EVAL-AFTER-LOAD "INFO" '(Require' SB-INFO))
2.EIEIO configuration
Add to Site-Lisp / Subdirs.el
(Add-to-list 'load-path "/ path / eieio")
My is:
(Add-to-list 'loading-path "/ usr / local / share / emacs / eieio")
3. Semantic configuration
Add to Site-Lisp / Subdirs.el
(Add-to-list 'loading-path "/ path / to / semantic")
(setq semantic-load-turn-everything-on t)
My is:
(Add-to-list 'load-path "/ usr / local / share / emacs / semantic")
(setq semantic-load-turn-everything-on t)
4. ECB configuration
Add to Site-Lisp / Subdirs.el
(Add-to-list 'load-path "/ path / ecb")
My is:
(Add-to-list 'load-path "/ usr / local / share / emacs / ecb")
Add to ~ / .emacs
(Require 'ECB)
Third, use
M-X ECB-ACTIVATE activation ECB
M-X ECB-Show-Help View Help
Fourth, other
If you want to accelerate the execution of these programs, then compile the EL file into an ELC file.
View the Makefile file of the appropriate program, modify the loadPath variable, then make