From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Aneesh Kumar K.V" Newsgroups: gmane.emacs.devel Subject: Re: Does CEDET work? Date: Thu, 19 Apr 2012 22:52:57 +0530 Message-ID: <87d373zle6.fsf@skywalker.in.ibm.com> References: <81r4vks4ex.fsf@gmail.com> <12k469-gau.ln1@x.lesharris.com> User-Agent: Notmuch/0.11.1+346~g13d19c3 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334856221 20815 80.91.229.3 (19 Apr 2012 17:23:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2012 17:23:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jordi =?utf-8?Q?Guti=C3=A9rrez?= Hermoso , Les Harris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 19 19:23:37 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SKv4x-0005wj-St for ged-emacs-devel@m.gmane.org; Thu, 19 Apr 2012 19:23:36 +0200 Original-Received: from localhost ([::1]:52484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKv4x-00037J-8E for ged-emacs-devel@m.gmane.org; Thu, 19 Apr 2012 13:23:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKv4q-00034c-IB for emacs-devel@gnu.org; Thu, 19 Apr 2012 13:23:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SKv4k-0002Vb-PT for emacs-devel@gnu.org; Thu, 19 Apr 2012 13:23:28 -0400 Original-Received: from e23smtp02.au.ibm.com ([202.81.31.144]:33203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SKv4k-0002V2-7r for emacs-devel@gnu.org; Thu, 19 Apr 2012 13:23:22 -0400 Original-Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 Apr 2012 17:05:25 +1000 Original-Received: from d23relay05.au.ibm.com (202.81.31.247) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 19 Apr 2012 17:05:21 +1000 Original-Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q3JHGPUN1257686 for ; Fri, 20 Apr 2012 03:16:26 +1000 Original-Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q3JHN3cb024479 for ; Fri, 20 Apr 2012 03:23:03 +1000 Original-Received: from skywalker.in.ibm.com.linux.vnet.ibm.com ([9.124.95.179]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q3JHMwDd024419; Fri, 20 Apr 2012 03:23:00 +1000 In-Reply-To: x-cbid: 12041907-5490-0000-0000-0000012EDD6B X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 202.81.31.144 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149827 Archived-At: Jordi Guti=C3=A9rrez Hermoso writes: > On 19 April 2012 01:22, Les Harris wrote: >> Jambunathan K writes: >> >>> Could you please share your autocomplete configuration as well? =C2=A0It >>> 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 >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "~/.emacs.d/elpa/auto-complete= -1.4.20110207/dict")) >> (setq ac-comphist-file (expand-file-name >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "~/.emacs.d/ac-comphist.dat")) >> (ac-config-default) >> >> That's my Autocomplete configuration. =C2=A0It'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=20 (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