all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Ludlam <eludlam@mathworks.com>
Subject: Re: Speedbar question
Date: 20 Mar 2003 14:39:33 -0500	[thread overview]
Message-ID: <koptolx1xm.fsf@ludlame-mac.dhcp.mathworks.com> (raw)
In-Reply-To: 7a11102c.0303200857.4ae0466a@posting.google.com

>>> jwilde@draper.com (John Wilde) seems to think that:
>I would like to use the speedbar for a custom file type and define a
>regular expression that determines the line in the file to jump to.  i
>am able to run etags to create the TAGS file that I want, but how do I
>make this work with speedbar so that it will expand into a list?
>(Like, for example, the way functions are listed when a .cpp file is
>opened)

The easiest way to do this is to support imenu.  Imenu has it's own
documentation in Emacs.  You can read on how to accomplish this.

Once you have done this, you can add this to your .emacs or imenu
support file:

(speedbar-add-supported-extension ".foo")

to tell speedbar to try and expand tags in this file.

Good Luck
Eric

-- 
Eric Ludlam             "Photonic Doodler"    The MathWorks x 7556
eludlam@mathworks.com         (work)        http://www.mathworks.com
eric@siege-engine.com         (home)      http://www.siege-engine.com

  reply	other threads:[~2003-03-20 19:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 16:57 Speedbar question John Wilde
2003-03-20 19:39 ` Eric Ludlam [this message]
2003-03-21 16:03   ` John Wilde
2003-03-24 14:00     ` Eric Ludlam
2003-03-25  1:03       ` John Wilde
2003-03-25 10:45         ` Kai Großjohann
2003-03-25 15:14         ` Kevin Rodgers
2003-03-25 19:40           ` John Wilde
  -- strict thread matches above, loose matches on Subject: below --
2005-02-11 20:39 Javier Oviedo
2005-02-12 11:09 ` Eli Zaretskii
     [not found] ` <mailman.1861.1108208577.2841.help-gnu-emacs@gnu.org>
2005-02-14 15:30   ` Javier Oviedo
2005-02-14 21:33 ` Eric Ludlam
2005-02-15 18:34   ` Javier Oviedo
2005-02-15 20:54   ` Javier Oviedo
2007-10-10 13:30 Ke Lu
2008-12-07  9:58 Tracing what is loading Juanma Barranquero
2008-12-07 11:22 ` speedbar question Maindoor
2008-12-07 15:21   ` Drew Adams
2008-12-07 15:34     ` Maindoor
2008-12-07 17:10       ` Drew Adams
2008-12-08  5:42         ` Maindoor
2008-12-08  5:46         ` Maindoor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=koptolx1xm.fsf@ludlame-mac.dhcp.mathworks.com \
    --to=eludlam@mathworks.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.