From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eric Ludlam Newsgroups: gmane.emacs.help Subject: Re: imenu / speedbar and C++ Date: Fri, 01 Oct 2004 12:05:30 -0400 Organization: The MathWorks, Inc., Natick, MA 01760 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 1096646927 10491 80.91.229.6 (1 Oct 2004 16:08:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 16:08:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 01 18:08:38 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 1CDPxW-00055N-00 for ; Fri, 01 Oct 2004 18:08:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDQ3x-0004Ei-OU for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Oct 2004 12:15:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!news.mathworks.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: garritylinux.dhcp.mathworks.com Original-X-Trace: fred.mathworks.com 1096646730 25628 144.212.109.157 (1 Oct 2004 16:05:30 GMT) Original-X-Complaints-To: news@mathworks.com Original-NNTP-Posting-Date: Fri, 1 Oct 2004 16:05:30 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:g4EKFFiXOTcKzMMIgcVmkeXvtTY= Original-Xref: shelby.stanford.edu gnu.emacs.help:125621 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:20978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20978 >>> 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. Eric -- Eric Ludlam The MathWorks x 7556 eludlam@mathworks.com http://www.siege-engine.com http://www.mathworks.com