[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does CEDET work?

From: Jambunathan K
Subject: Re: Does CEDET work?
Date: Thu, 19 Apr 2012 10:29:18 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (windows-nt)

Les Harris <address@hidden> writes:

> Jordi Gutiérrez Hermoso <address@hidden> writes:
>> Indeed, I keep hearing of the person in [4]. Does CEDET work?
> I hope your question doesn't get buried by the tongue-in-cheek trappings
> of your post.  CEDET does have a reputation for frustrating complexity
> at times (although I do not believe it is as deserved as many would have it)
> In my experience the answer is an emphatic yes, CEDET works.  Not only
> that it works better now than it ever has before.
> Here is some 'proof': http://i.imgur.com/OGrq6.png
> For the screenshot I opened up a random Emacs source file, went to a
> random function, and tried to complete a structure.  In this case it was
> glyph_matrix, and we can see that CEDET has provided a list of all the
> members of the glyph_matrix struct.
> There is a bit prettification going on there, I use AutoCompleteMode and
> its AC-Semantic backend to do the overlay-based completion window but
> the heavy lifting is all CEDET.

Could you please share your autocomplete configuration as well?  It
could serve as a good starting point for people like me interested in
exploring CEDET (and whatever else that goes well with it).

> And lest you think that setup required extensive, painstaking
> configuration I present to you the sum total of my CEDET specific
> configuration:
> ;; Semantic
> (global-semantic-idle-completions-mode t)
> (global-semantic-decoration-mode t)
> (global-semantic-highlight-func-mode t)
> (global-semantic-show-unmatched-syntax-mode t)
> ;; CC-mode
> (add-hook 'c-mode-hook '(lambda ()
>         (setq ac-sources (append '(ac-source-semantic) ac-sources))
>         (local-set-key (kbd "RET") 'newline-and-indent)
>         (linum-mode t)
>         (semantic-mode t)))
> You should check it out yourself if you haven't in a while.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]