From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jay Cotton Newsgroups: gmane.emacs.help Subject: Re: imenu / speedbar and C++ Date: Fri, 1 Oct 2004 15:02:26 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <6F346172-13DC-11D9-9634-000393D94636@fleeingrabbit.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096657410 16172 80.91.229.6 (1 Oct 2004 19:03:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 19:03:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 01 21:03:06 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 1CDSgM-0003Dj-00 for ; Fri, 01 Oct 2004 21:03:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDSmn-0002ou-UB for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Oct 2004 15:09:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CDSme-0002oe-10 for help-gnu-emacs@gnu.org; Fri, 01 Oct 2004 15:09:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CDSmc-0002o0-Sh for help-gnu-emacs@gnu.org; Fri, 01 Oct 2004 15:09:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDSmc-0002nx-Pz for help-gnu-emacs@gnu.org; Fri, 01 Oct 2004 15:09:34 -0400 Original-Received: from [209.239.41.145] (helo=host10.globalnameservers.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDSfq-0005in-8A for help-gnu-emacs@gnu.org; Fri, 01 Oct 2004 15:02:34 -0400 Original-Received: from [10.1.151.130] ([153.9.253.10]) by host10.globalnameservers.com (8.12.10/8.12.10) with ESMTP id i91J2X6d019798 for ; Fri, 1 Oct 2004 15:02:33 -0400 In-Reply-To: Original-To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.619) 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:20986 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20986 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.