Re: [CEDET-devel] Experimental exuberant ctags parsing backend
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2008-10-16 00:45:07
|
>>> Bruce Stephens <bru...@ce...> seems to think that: >"Eric M. Ludlam" <er...@si...> writes: > >> Now in CEDET/CVS is an experimental ctags parsing database backend. >> I have only gotten support for C/C++ so far. > >You've got: > >(defcustom semantic-ectag-program "~/src/ctags-5.7/ctags" ; "ctags" > "The Exuberent CTags program to use." > :group 'semantic > :type 'file) > >Probably "ctags" is the better default! Heh, thanks for pointing that out. >Also > >> (semantic-enable-exuberent-ctags 'c-mode) >> (semantic-enable-exuberent-ctags 'c++-mode) > >doesn't work for me. The function only takes strings. (Presumably >that's a bug. Not a significant problem, anyway.) Thanks for pointing that out too. I had also discovered that late this afternoon, and have checked in a fix. >I get a background error with flymake-mode. I have flymake-mode >configured so it doesn't operate on filenames with "flymake" in them, >and semantic-inhibit-functions set appropriately to ignore the same >buffers, but I saw errors when semantic was trying to run ctags on >flymake files, so I guess semantic-inhibit-functions isn't being used >properly for the new feature? Hmmm. A curious issue. Those functions are run assuming the current buffer is the buffer to be parsed. The ctags support specifically does not load anything into a buffer, which is the main reason to have made this extension. Thus, I can't use those functions. According to the ctags, you can add --exclude="*flymake*", but I don't know if that works when a file is explicitly listed, as this tool is doing. In any case, you can put that into a ~/.ctags to try it. Eric -- Eric Ludlam: er...@si... Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net |