[Top][All Lists]

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

Re: Does CEDET work?

From: Les Harris
Subject: Re: Does CEDET work?
Date: Wed, 18 Apr 2012 21:29:04 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

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.

And lest you think that setup required extensive, painstaking
configuration I present to you the sum total of my CEDET specific

;; 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.

Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?

reply via email to

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