emacs-devel
[Top][All Lists]
Advanced

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

Re: Does CEDET work?


From: Aneesh Kumar K.V
Subject: Re: Does CEDET work?
Date: Thu, 19 Apr 2012 22:52:57 +0530

Jordi Gutiérrez Hermoso <address@hidden> writes:

> On 19 April 2012 01:22, Les Harris <address@hidden> wrote:
>> Jambunathan K <address@hidden> writes:
>>
>>> 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).
>>
>> Certainly, it's not much.
>>
>> ;; Autocomplete
>> (require 'auto-complete-config)
>> (add-to-list 'ac-dictionary-directories (expand-file-name
>>             "~/.emacs.d/elpa/auto-complete-1.4.20110207/dict"))
>> (setq ac-comphist-file (expand-file-name
>>             "~/.emacs.d/ac-comphist.dat"))
>> (ac-config-default)
>>
>> That's my Autocomplete configuration.  It's available via ELPA or
>> EmacsWiki.
>>
>> The AC-Semantic backend is handed in my c-mode-hook which I posted
>> previously.
>>
>> Previous versions of CEDET (and Autocomplete mode) required much more
>> manual configuration. It all works more or less 'out of the box' now.
>
> Thanks, added your thing to the wiki:
>
>     http://www.emacswiki.org/emacs/CEDET_Quickstart
>

Another nice option is to use 

  (semanticdb-enable-gnu-global-databases 'c-mode)


And use gnu global for searching for tags project wide, So you start
with generated gtag file and then use semantic to search for a
tag. Semantic will internally fallback to global to find the file and
then parse the file to find the tag.

-aneesh




reply via email to

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