Thanks for the example. I haven't done any work at resolving the
specifics of C++ namespace issues yet. While there is infrastructure
there to handle multiple scopes, the work of parsing out namespaces
from using statements, or b::name type syntax is not.
As I am starting to work on C++ code like that, however, it is on
the top of my list of analyzer things to do... after I get 1.0 out
If someone wants to tackle this problem, I'd be happy to help.
>>> Nathan Addy <nathan.addy@...> seems to think that:
>I am a relative emacs newbie and a total semantic newbie, so I
>apologize if this is a pretty obvious question/problem.
>Today my goal has been to take an out of the box emacs installation
>and get the analyse-possible-completions type stuff to work with a
>medium sized project I'm joining. I downloaded semantic by installing
>the latest cedet and then ran something like
>(setq semantic-load-turn-everything-on t)
>in my .emacs.
>To test it out I entered in some simple cpp file that said something like
>int main(int argc, char** argv)
>Where all of this is contained in one single cpp file.
>The semantic-complete-analyse-inline will work exactly the way I would
>expect when I use it after typing "alpha." It completes it to
>alpha.m_int and will expend to the first ambiguity when I give foo
>more public members, etc. None of this works for beta though. When I
>type "beta." and execute the function, it offers for completion all
>variables at local scope: main, argc, argv, alpha, and beta.
>What, if anything, can I do to make semantic resolve names through
>namespaces? Thanks very much in advance.
[ ... ]
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org