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

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

imenu / speedbar and C++


From: Jay Cotton
Subject: imenu / speedbar and C++
Date: Thu, 30 Sep 2004 22:36:10 -0400

I've been enjoying the emacs imenu / speedbar features for coding Java and Ruby, but at the moment I'm working on a C++ project and now I'm having trouble getting imenu to recognize all the functions in the file. It seems to only recognize the class definition and the "main" function - which I guess makes sense if it follows a convention of only noticing functions that are delimited at the left margin.

However, in my C++ file, all the interesting stuff happens within the class, and the functions therein are all indented a few spaces. Is there a way to broaden imenu's tag filter to allow for these functions to be captured?

Also, I'm confused about why imenu and speedbar work so well with Java and Ruby, since they have functions that are indented similarly to C++.

Thanks for any advice!

Jay




reply via email to

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