I followed the instructions found at http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html#sec4, at http://www.emacswiki.org/emacs/CEDET_Quickstart and at cedet.sourceforge.net/setup.shtml, but I just can't get 'semantic' to work.

This is what I did:

1 - I downloaded cedet_snapshot-rev_8563.tar.gz from http://www.randomsample.de/cedet-snapshots/

2 - Then I did 'make clean-all && make'

3 - I moved the 'trunk' directory to 'cedet-bzr' inside '~/.emacs.d'

4 - In my '.emacs' file (of my 23.4.1 Emacs) I wrote:

(load-file "~/.emacs.d/cedet-bzr/cedet-devel-load.el")

(global-ede-mode 1)                      ; Enable the Project management system
(semantic-load-enable-code-helpers)      ; Enable prototype help and smart completion
(global-semantic-idle-completions-mode t)
(global-semantic-decoration-mode t)
(global-semantic-highlight-func-mode t)
(global-semantic-show-unmatched-syntax-mode t)

(semantic-mode t)

But when I try, for example, ' M-x semantic-complete-analyze-inline', I get the error

Idle Work Typecaching Error: "#<buffer test1.cpp> - Wrong type argument: stringp, (((0) \"ptrdiff_t\"))"


Can anyone point out what I'm doing wrong?

Thanks a lot!

    Rodrigo Canellas

    Programador C++
    Fotógrafo amador