Maindoor writes:
> (require 'semantic/bovine/c)
> (require 'semantic/bovine/gcc)
> (require 'semantic/bovine/clang)
> (require 'semantic/ia)
> (require 'semantic/decorate/include)
> (require 'semantic/analyze/debug)
> (require 'semantic/lex-spp)
> (require 'eassist)
Please get rid of those requires. I know Alex has them in his config,
but they should not be necessary. If something does not work after
removing those requires, please report it as a bug.
> I have built cscope and gtags database where the "Makefile" is present
>
> 1) I am searching for the definition of "isValidTxRate".
> There are 4 definitions of it in the project in directories ar5210,
> ar5211, ar5212, ar5216.
> But when I do a semantic-ia-fast-jump, it jumps to only 1 of the
> definitions. I want to edit
> all of the definitions. In my case the board id will dictate which one
> to use, but that's run time.
> Is there any way to see all the definitions other than doing a grep ?
You can use semantic-complete-jump (bound to C-c , J). It will use the
GNU global database and you should be able to cycle through the
different definitions by repeatedly pressing TAB. Unfortunately, it's
not working very reliably... I often wanted to fix it, but then got lost
in all those collector and displayor classes...
> 2) I wanted to semantic-symref-symbol nt_node which is part struct
> ieee80211_node_table, but with the above
> configuration (ede-cpp-root-project), I get [No Match]. What am I doing wrong ?
Yes, that one's simply not working. It's on my ever-growing TODO
list. Calling `semantic-symref' (bound to C-c , G) should work, but it
uses the symbol under point.
-David
|