On Mon, 22 Mar 2010 07:46:15 -0400, "Eric M. Ludlam" <eric@...> wrote:
> On 03/22/2010 07:32 AM, Eric M. Ludlam wrote:
> > On 03/22/2010 01:20 AM, Aneesh Kumar K. V wrote:
> >> On Sun, 21 Mar 2010 20:59:39 -0400, "Eric M. Ludlam"<eric@...> wrote:
> >>> On 03/19/2010 08:22 AM, Aneesh Kumar K.V wrote:
> >>>> Hi,
> >>>> Shouldn't setting semanticdb-enable-gnu-global-databases also set
> >>>> semantic-symref-tool to global ? I am wondering if i want to use global
> >>>> for symref and if i don't have ede project support configured properly
> >>>> does it make sense to use both the below ?
> >>>> (setq semantic-symref-tool 'global)
> >>>> (semanticdb-enable-gnu-global-databases 'c-mode)
> >>> Those items are not enabled together, though it would make sense to do
> >>> so. Every part of CEDET tends to be independent, and occasionally some
> >>> set of features will be combined in installation, but this hasn't
> >>> happened too much yet.
> >> So that means i should set both semantic-symref-tool and
> >> semanticdb-enable-gnu-global-database to ensure i use global for
> >> reference lookup ?
> > If by that you mean "use gnu global for all referencing", then that is
> > true, there is also ede-locate-setup-options which will let EDE do
> > project lookup that way also.
> > If you instead just mean reference lookup, then you only need the symref
> > setting. The semanticdb is used for other kinds of tag searches, but
> > not uses.
> I just reread my own mail, and it makes no sense to me. Let me try again.
> There are 3 kinds of "references" that CEDET can use GNU Global for.
> - file names in a project
> this is the EDE configuration variable.
> - tags (declarations or implementations of symbols)
> This is the semanticdb case.
> - usages - where some tag is used
> this is the symref case.
> There are three different internal CEDET tools for them with three
> different configurations.
> I hope that helps
That explained it well. Thanks