help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c++ programming utilities


From: Eric Ludlam
Subject: Re: c++ programming utilities
Date: Mon, 17 May 2004 10:23:28 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

>>> william xuuu <address@hidden> seems to think that:
>
>Hi,I'm trying to get several utilities to work, but meet some
>problems. (I'm using Emacs21.3.1 in console mode).
>
>1.speedbar: From its info, "When used in terminal mode, the new frame
>appears the same size as the terminal." Is there any way to make it
>appear in the right side of current buffer without starting a new frame?

You can try ECB, which can host speedbar in that way.

http://ecb.sf.net

>And, when i press "=" to display sub items, it always tries to fold
>itself quickly, strange?!

I do not see this problem in terminal mode nor under X.  Is anything
else going on?

>2.semantic-ia: 
>
>     class C
>     {
>     public:
>          int aacc;
>          int aabb;
>     };
>
>     C x;
>     x.a
>
>At last line, trying "M-x senator-complete-symbol", it circles between
>x.aacc and x.aabb, fine. But trying "M-x semantic-ia-complete-symbol", it
>complains:  
>
>   No context of type function to advance in.

The senator based function looks for the nearest string and completes
on that based on all symbols in the current file.  You can also use
hippie-expand to get to that senator functionality.

The ia-complete functions use a local context analyzer instead, which
means the only provided options are what semantic thinks belongs
there, including symbols from outside the local file.

Because you have no closing brace on your class, there is no local
context because it cannot determine where you are (in a function,
variable, comment, etc.)

This is a problem that would be nice to solve someday, but for now,
you just need to complete your {} blocks.

Eric


reply via email to

[Prev in Thread] Current Thread [Next in Thread]