Eric M. Ludlam | 2 Jan 2009 14:15
Gravatar

Re: c++_and_autocompletion

Hi,

  You have the latest published version.  The problem you have run
into has better solutions in the current CVS version of CEDET.  If you
can get the CVS version, then there is an EDE project style called
ede-cpp-root, whose job is to solve the exact problem you have
specified.

  You would configure it like this in your .emacs file:

(ede-cpp-root-project "NAME" :file "FILENAME"
     :include-path '( "/include" "../include" "/c/include" )
     :system-include-path '( "/usr/include/c++/3.2.2/" )
     :spp-table '( ("MOOSE" . "")
                   ("CONST" . "const") ) )

More is in the ede-cpp-root.el commentary.

  You would also want the latest CVS version because the smart
completion is much more robust than in the last pre4 release.

Good Luck
Eric

>>> "Dejan Pangercic" <dejan.pangercic <at> gmail.com> seems to think that:
>Hi there,
>
>I just hit today on CEDET project and it seems to offer what I am
>looking for, this is an EMACS plugin that enables c, c++ code
>auto-completion. However, despite playing around with it for a whole
(Continue reading)


Gmane