Status of CEDET and ECB in Emacs 24.2

Amelio Vazquez-Reina picture Amelio Vazquez-Reina · Oct 3, 2012 · Viewed 12.7k times · Source

I am a bit confused of what I need to do to run CEDET and ECB in Emacs 24.2.1.

The Emacswiki has the following text:

How to enable the CEDET tools which were merged with Emacs

In Emacs 23.2, CEDET was merged into the main Emacs distribution. The configuration code which is explained in CEDET tutorials doesn’t work anymore. For instance you cannot use (semantic-load-enable-gaudy-code-helpers) to enable the useful features.

TODO: please explain what code you need to load the most useful IDE tools provided by CEDET

I got a basic configuration to work with the following in my .emacs:

(global-ede-mode 1)
(require 'semantic/sb)
(semantic-mode 1)
  • Q1: Are CEDET and ECB now bundled with Emacs? If so, why is there a separate Sourceforge project for it?
  • Q2: How can I enable CEDET and ECB in Emacs 24.2? Do I still need to download the source code from the respective websites and install them separately?

Answer

Alex Ott picture Alex Ott · Oct 3, 2012

You need to take into account several things:

  • CEDET is bundled with GNU Emacs 24.2, but it's slightly outdated... CEDET 1.1 or CEDET from bzr is better from functional point of view. I hope, that Emacs 24.3 will have fresh version of CEDET
  • I have a fork of ECB, that works with fresh CEDET (1.1 or bzr) & with CEDET bundled with Emacs - but you need to install it manually
  • You can enable CEDET bundled with GNU Emacs or CEDET from bzr with following config, for CEDET 1.1 you can use following config.

P.S. I'll try to answer to more questions here, or you can write to me directly via e-mail