Hi

if you need to get automatic completion - it's better to look to auto-complete package that can use Semantic to get completions. auto-complete you can install via MELPA.

More information you can find in the section "Names completion with auto-complete package" at http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html (together with instructions on how to setup CEDET manually)


On Fri, Aug 23, 2013 at 1:30 PM, Glen Stark <mail@glenstark.net> wrote:

Hi Everyone.

I would like to prompt for auto-completion based on semantic information.

E.g:

class Foo
{
public:
        void method1();
        void method2()
private:
...
}


int main()
{
   Foo f;
   f./* Prompt for completion here*/
}

As I understand it, this is possible using semantic.  I rather naively
tried alt-x "semantic-mode", but no joy -- I get a message "cannot find
types for X" message.  Also, the keyboard shortcuts described here:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Semantic.html
are not enabled.

I tried going through the web, and some time ago I tried manually
installing cedet, but got hung up along the way.  Can someone help me out
finding the lowest effort way to success here?

I am using emacs 24.3.1 (on fedora 19).  Do I have to manually install
cedet, or can I use the pre-installed cedet components?

If out-of-box emacs should work, what am I doing wrong (or failing to
do)?  If I need to install cedet manually, can someone point me to the
correct install procedure for my version of emacs?

Thanks very much for your help.

Glen




--
Human Being



------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Cedet-devel mailing list
Cedet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cedet-devel



--
With best wishes,                    Alex Ott
http://alexott.net/
Twitter: alexott_en (English), alexott (Russian)
Skype: alex.ott