2010-10-23

Recently, we discussed CEDET in the interview with Eric Ludlam. CEDET has a deep
understanding of the source code, and assists the development process by
exploiting that knowledge. For example by drawing class diagrams (COGRE) or
providing auto-completion for function names and parameters.

Currently, however, CEDET is also be a bit hard to set up effectively, and may
also not support your programming language yet. Therefore, it's still useful to
look at some other packages that can substitute (part of) the functionality.

For me, auto-complete-mode has been very useful for that. It's not as fancy as
CEDET in the sense that it does not really understand the code – but in
practice I found it to work quite well for both C/C++, Elisp and shell scripts.
It can even display the docstrings of functions. And when editing shell-scripts,
it can complete path names as you are editing the scripts; very nice.

To install, follow the instructions. Then, in your .emacs, have something
like: