1 CEDET: Collection of Emacs Development Environment Tools
3 CEDET is a top-level project containing several individual packages for Emacs,
6 Semantic - Parser Infrastructure for Emacs
7 EDE - File manager/ Makefile generator
8 SRecode - Template manager/ code generator
9 COGRE - Connected Graph Editor
13 The full CEDET suite requires Emacs 24.1 or newer.
15 Compilation of CEDET currently requires GNU Make.
21 Byte compilation is done by entering the top directory and calling
25 If you want to byte-compile with a specific Emacs version, use
27 make EMACS=<Emacs binary>
29 CEDET is designed to be used 'in-place', so you do *not* have to
30 call 'make install' afterwards.
34 By default, info files containing the CEDET documentation will be
35 generated through the above 'make' call and put into
37 <CEDET-TOPDIR>/doc/info
39 where they will be automatically made known to Emacs when CEDET is
40 loaded (so usually, you can stop reading here). Like the EMACS
41 variable above, you can specify binaries for makeinfo and
42 install-info, as well as the location for the generated info files,
43 by using the 'MAKEINFO', 'INSTALL-INFO' and 'INFODIR' variables,
44 respectively. Note that if you use another INFODIR than the
45 default, you have to make sure that they are found by Emacs
46 yourself. Additionally, if writing into your custom INFODIR
47 requires special permissions, you'll have to call
51 manually as root or via sudo.
53 - Install CEDET into your Emacs init files (.emacs):
55 To enable the CEDET development version in Emacs you need to
56 override the CEDET that comes with Emacs. To do that, load the
57 cedet-devel-load.el file that is next to this INSTALL file.
59 You should place the `cedet-devel-load.el' command near the
60 beginning of your init file, otherwise parts of CEDET might already
61 be loaded from core Emacs. For more details on other configuration
62 options topic, see the info file common/cedet.info.
64 This code snippet can be copied into your .emacs file to enable the
65 development version of cedet, and turn on all the features.'
69 ;; See cedet/common/cedet.info for configuration details.
70 ;; IMPORTANT: Tou must place this *before* any CEDET component
71 ;; gets activated by another package (Gnus, auth-source, ...).
72 (load-file "/home/user/cedet/cedet-devel-load.el")
74 ;; Add further minor-modes to be enabled by semantic-mode.
75 ;; See doc-string of `semantic-default-submodes' for other things
77 (add-to-list 'semantic-default-submodes 'global-semantic-idle-summary-mode t)
78 (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t)
79 (add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t)
84 ;; Enable EDE (Project Management) features
91 If running MAKE fails due to other issues such as bad loaddef files,
92 custom-autoload or incomprehensible run time errors during a byte
97 and try again. If you're running the development version from git,
103 to get a clean slate of all files (deleting all new files you've
104 created and all changes you've made, of course).
106 If you're getting error messages about Makefiles that have to be
107 regenerated, or maybe this regeneration is triggered automatically
108 and it fails, you can always enforce the current Makefiles by
109 updating their timestamps through
113 - For Package Maintainers: Unpack CEDET sources
115 Do not put the copy of CEDET's standalone sources under Emacs' lisp
116 directory. If you do, Emacs will attempt to add too much into the
117 load-path, and this will not work.
119 When installing CEDET standalone sources over an existing Emacs, put the
120 sources outside of Emacs' regular load path. Use the install
121 instructions above for initializing CEDET use in Emacs.
123 https://sourceforge.net/tracker/?func=detail&atid=117886&aid=3585232&group_id=17886
125 - Install CEDET CONTRIB files into your emacs init files (.emacs)
127 When you install CEDET standalone, you have the option of also
128 installing CEDET's "contrib" files. These are additional programs
129 that work with CEDET for which Authors were unable to provide
130 copyright to the FSF for inclusion into Emacs. They are kept
131 separately, and must be compiled and installed separately. First
132 you have to compile them by entering the 'contrib' directory and
133 simply call 'make'. You can then load them in your init file by
137 ;; Load CEDET CONTRIB.
138 (load-file "/home/user/cedet/cedet-contrib-load.el")
144 To send bug reports, or participate in discussions on these
145 packages, there are three lists available:
147 For general discussions on CEDET, use cedet-devel@sourceforge.net
150 http://lists.sourceforge.net/lists/listinfo/cedet-devel
152 For discussions specific to Semantic use the mailing list
153 cedet-semantic@sourceforge.net via the URL:
155 http://lists.sourceforge.net/lists/listinfo/cedet-semantic
157 All mailing lists are also available via Gmane (gmane.org) as
162 OTHER OPTIONAL REQUIREMENTS:
164 You may also need to download some of the following files for more
167 To use Exuberant CTags to parse files:
168 http://ctags.sourceforge.net/
170 To use GNU Global integration:
171 http://www.gnu.org/software/global
173 To use ID Utils integration:
174 http://www.gnu.org/software/idutils/
176 To use CScope integration:
177 http://cscope.sourceforge.net/
179 To use C/C++ completion with clang:
180 http://clang.llvm.org/
182 To use Javascript completions through Firefox and mozrepl:
183 https://github.com/bard/mozrepl/wiki
185 To use the JavaScript parser on older Emacsen you will need
186 javascript-mode.el (this only applies to version 23.1; version 23.2
187 and newer will have it included):
188 http://www.emacswiki.org/cgi-bin/wiki/JavaScriptMode
190 To use COGRE with Graphviz Dot integration:
191 http://www.graphviz.org/
193 And a major mode for dot (not required):
194 http://users.skynet.be/ppareit/projects/graphviz-dot-mode/graphviz-dot-mode.html