From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Klaus Berndl Newsgroups: gmane.emacs.help Subject: Re: imenu / speedbar and C++ Date: 02 Oct 2004 10:07:06 +0200 Organization: "sd&m AG, Muenchen, Germany" Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096704913 28407 80.91.229.6 (2 Oct 2004 08:15:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2004 08:15:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 02 10:15:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CDf2q-0002Ip-00 for ; Sat, 02 Oct 2004 10:15:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDf9K-0001Kf-2f for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Oct 2004 04:21:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news.sdm.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 Original-NNTP-Posting-Host: callin59.muc.sdm.de Original-X-Trace: news.sdm.de 1096704426 15478 195.125.139.59 (2 Oct 2004 08:07:06 GMT) Original-X-Complaints-To: usenet@news.sdm.de Original-NNTP-Posting-Date: Sat, 2 Oct 2004 08:07:06 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:125639 X-Originally-To: Jay Cotton Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20996 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20996 On Fri, 1 Oct 2004, Jay Cotton wrote: > On Oct 1, 2004, at 12:05 PM, Eric Ludlam wrote: > > >>>> Jay Cotton seems to think that: > >> 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? > > > > Hi, > > > > The CEDET project has goodies to improve this situation. See > > http://cedet.sf.net > > > > I think ebrowse (which is part of Emacs 21) does something similar. > > Wow, thanks - a lot going on at CEDET. From what I can tell, speedbar > was originally developed by CEDET, but the problem is that Emacs 21.3 > doesn't ship with the latest speedbar (actually, I gather it's more > complicated than that, with lots of dependencies such as the > 'semantic' project, also part of CEDEC). > > Anyway, I grabbed the latest beta version (cedet-1.0beta3b) and > installed it and now I'm getting a much better speedbar experience (in > C++ at least). > > Lots to learn. Maybe you want also "learn" ECB - the Emacs Code browser http://ecb.sf.net . Some people like it a lot ;-) It uses heavily CEDET................ Klaus -- Klaus Berndl mailto: klaus.berndl@sdm.de sd&m AG http://www.sdm.de software design & management Carl-Wery-Str. 42, 81739 Muenchen, Germany Tel +49 89 63812-392, Fax -220