cedet-howto

Installing and using CEDET

Or a rapid CEDET mini-howto

Install

First of all, you should have Emacs (and use it really hard). Then, if you don't know what dahell CEDET is, look at its link ;) Once you know what is and what for, you should continue reading

There are some differences between the systems, so here are some important points you should know before you can use it and install:

    1. The Emacs version itself, i have not tested myself this on XEmacs but i almost remember something about an internal package manager, then sure you can use it to install CEDET. if you have an Emacs based on something older than version 22 you may upgrade it. If you use m$ windows... i dont know what to do, i dont even have a windows box!

    2. load-path: each time Emacs tries to load some library, it searches first at 'load-path' variable. That points to a directory (usually shared/emacs/site-lisp) where the code is. locating that will be useful in most situations. Other places where it can be found are:

      • in some tuxes: the dir ~/.emacs.d/

      • /usr/local/shared/emacs/site-lisp/ or in /sw/share in fink

      • in Debian (ubuntu) you may read the Policy, if you like to install manually, or do an apt-get install.

      • in Aquamacs: ~/Library/Application\ Support/Aquamacs\ Emacs/

    3. Customization file: sometimes your configurations comes in the ~/.emacs.d, sometimes in .emacs or init.el ... in Aquamacs it is in ~/Library/Preferences/Aquamacs\ Emacs/Preferences.el and Customizations.el

The very first thing you do is Download the package from its page in Sourceforge, unpack where you like the most and 'make install -not-war' in order to byte compile the sources (optional).

Then move the dir to the load-path and register it in the customization file, adding the lines:

(load-file "~/cedet-1.0pre6/common/cedet.el") (global-ede-mode 1) ; Enable the Project management system (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion (global-srecode-minor-mode 1) ; Enable template insertion menu

Uses

At first you may want to edit some source file, open it and type 'M-x speedbar' it will show a helpful bar in one side of your editor

made on a mac

;D