Re: [CEDET-devel] bypass GNU global code if GNU global programs are not in path?
Brought to you by:
zappo
From: David E. <de...@ra...> - 2011-10-18 20:06:03
|
emacs writes: > I'm trying to setup CEDET with example files (including GNU global > database files created by gtags program) so that my colleagues can test > drive cedet and other elisp tools. Some people have gtags in their > path, but some don't. So if those without gtags in their PATH loads one > of my C++ file with associated GNU global database files, then cedet > seems to detect the database files and tries to run 'global' program to > parse them. If my colleagues without gtags in their PATH tries out my > examples, cedet signals error when it fails to launch 'global'. Only having the Global database file(s) in the project shouldn't by itself lead to CEDET trying to actually use it. You still have to explicitly activate it by using (semanticdb-enable-gnu-global-databases 'some-language-mode) If you really see that CEDET calls global although the above line was not called, then I think that would be a bug, but at the moment I cannot see that behavior. Do you also provide special init files for CEDET for your colleagues? If so, I think you should check for global there. -David |