Source

semantic / INSTALL

Diff from to

File INSTALL

 How to install Semantic
 
-1) Copy source files somewhere.
+1) Byte compile semantic (optional, but recommended)
+2) Install load hooks into your .emacs file.
 
-1.1) Optional: Install EIEIO CLOS library package from:
-	http://cedet.sourceforge.net/eieio.shtml
+   Follow the INSTALL file in the top level of this distribution.
 
-1.2) Optional: Install the Speedbar package from:
-	http://cedet.sourceforge.net/speedbar.shtml
-     Note: Some parts of semantic may not load with the version
-	   of speedbar included in current versions of Emacs
+3) If turning everything on is too much:
 
-2) Byte compile semantic (optional, but recommended)
+   There are five levels of support provided in semantic.  The
+   functions you can use are:
 
-   a) Edit Makefile, and change LOADPATH to include the path to
-	 EIEIO and Speedbar.
-   b) run "make"
+   semantic-load-enable-minimum-features
+   semantic-load-enable-code-helpers
+   semantic-load-enable-gaudy-code-helpers
+   semantic-load-enable-excessive-code-helpers
+   semantic-load-enable-semantic-debugging-helpers
 
-   -OR-
+   If you do not get the specific combination of features you want
+   you can enable or disable individual features as you wish.
+   Please see the documentation for those features for additional
+   information about what they enable.
 
-   a) run: make "LOADPATH=<path to eieio> <path to speedbar>"
+3.141) Custom setup
 
-   If byte compilation fails fails:
-    a) Follow step 3:
-    b) byte compile the files individually and interactivly from
-	Emacs or XEmacs.
+   If you don't want to use one of the default mode enable functions
+   above, you can instead turn on only the parts you want.
 
-3) Install load hooks into your .emacs file.
+   Read the info file in doc/semantic-user.info.  It contains descriptions
+   all the different minor modes.
 
-(add-to-list 'load-path "/path/to/semantic")
-(setq semantic-load-turn-everything-on t)
-(require 'semantic-load)
-
-
-4) If turning everything on is too much:
-
-   Remove the first line setting the variable that turns everything on.
-   Investigate the file `semantic-load.el', and include those pieces
-   you want to use.
-
-5) To send bug reports, or participate in discussions about semantic,
+4) To send bug reports, or participate in discussions about semantic,
    use the mailing list cedet-semantic@@sourceforge.net via the URL:
 
    http://lists.sourceforge.net/lists/listinfo/cedet-semantic