On date Monday 2008-06-23 20:46:21 -0400, Eric M. Ludlam wrote:
> >>> Stefano Sabatini <stefano.sabatini-lala@...> seems to think that:
> >Hi all, glad to see lately such impressive progresses in cedet!!
> >
> >I'm facing this problem: suppose I'm navigating a C file with
> >prototypes, the semantic-complete-jump function (usually bound
> >to C , J) jumps directly to the prototype declaration, when I would
> >like it to jump to the actual definition of the function.
> >
> >Do you think it is possible to achieve this?
>
> Hi,
>
> Semantic uses files explicitly included into a C file as a sort of
> search optimization to find things more quickly. It has a nice side
> effect of showing you the definition that the C compiler would
> actually use.
>
> The "find the implementation" part is on my todo list. The problem
> is that Semantic may not have parsed the file with the definition, and
> there is no way to know what of the many files in a project may have
> the definition. I'd like to use EDE to help with this part.
>
> Anyway, it is possible, Semantic could have this info to be used,
> but no one has written that specific interface for senator yet.
>
> >And BTW, can you suggest a convenient method to jump back to the
> >original buffer after a semantic-complete-jump with some
> >keybinding/function?
>
> You can use semantic-mru-bookmark mode, which is enabled with the
> code-helpers. Use C-x B (capital B) to jump to some tag you have
> recently been in. If you use senator-jump, then it will default to
> that last place. The history contains all the tags you dallied in.
Thanks so far Eric for the as always precious informations.
Best regards.
|