I have a backlog of email, and am answering in reverse chronological
order it seems. :)
GNU Global is most useful via the use of the 'symref' commands, such
The use of these is for finding references to a particular symbol.
Global will also work as a databasebackend as you have indicated below.
The use here is a bit more transparent, as symbols in a global namespace
are now available to Semantic when looking up symbols. If you use C++,
this is less useful if most of your access is through namespaces or
On Sun, 2009-05-10 at 13:22 -0400, Jake Colman wrote:
> I have successfully build CEDET for XEmacs and installed GNU Global and
> Idutils. I have a source tree for a complex system that starts with a
> .../SRC directory under which are all the source directories for the
> various libs (SRC/lib/*) used by a bunch of client applications
> (SRC/clients/*) and a Java application (SRC/java/*). I executed Global
> at the SRC level to generate the tags.
> My .emacs (actually, init.el) contains the following:
> (load-file "~/site-lisp/cedet/common/cedet.el")
> ;; Enable EDE (Project Management) features
> (global-ede-mode 1)
> ;; Enable Semantic (code-parsing, smart completion) features
> (global-srecode-minor-mode 1)
> (require 'semantic-ia)
> (require 'semanticdb-global)
> (semanticdb-enable-gnu-global-databases 'c-mode)
> (semanticdb-enable-gnu-global-databases 'c++-mode)
> But now what? If I edit a file, I see CEDET's new menus and I see
> options that look interesting yet none of them really do very much. How
> do I get CEDET to use the Global data and start being really helpful?
> I'm obviously missing some step that tells CEDET where to look for