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: speedbar + auctex (+ reftex?): show tables/figures/definitions Date: 09 Apr 2003 13:11:51 -0400 Organization: The MathWorks, Inc., Natick, MA 01760 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84y92t2enh.fsf@lucy.is.informatik.uni-duisburg.de> <84smsu6pn9.fsf@lucy.is.informatik.uni-duisburg.de> <844r59qa87.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1049908723 4014 80.91.224.249 (9 Apr 2003 17:18:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2003 17:18:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 09 19:18:38 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193JDa-000125-00 for ; Wed, 09 Apr 2003 19:18:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193JAg-0006hO-03 for gnu-help-gnu-emacs@m.gmane.org; Wed, 09 Apr 2003 13:15:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newsfeed.mathworks.com!news.mathworks.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: ludlamelinux.dhcp.mathworks.com Original-X-Trace: ginger.mathworks.com 1049908311 27234 144.212.109.21 (9 Apr 2003 17:11:51 GMT) Original-X-Complaints-To: news@mathworks.com Original-NNTP-Posting-Date: Wed, 9 Apr 2003 17:11:51 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:111822 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8323 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8323 >>> kai.grossjohann@gmx.net (Kai Großjohann) seems to think that: >Eric Ludlam writes: > >>>>> kai.grossjohann@gmx.net (Kai Großjohann) seems to think that: >>> >>>sb-texi.el doesn't do the labels thing, but I guess that could be >>>added. >> >> What label thing? > >"Label" as in "\label" :-) > >/---- >| \section{Foo Bar} >| \label{sec:foo-bar} >| >| Bla bla. >| >| \begin{definition}[Dummy title] >| \label{def:dummy} >| This is a dummy definition. >| \end{definition} >| >| Bla bla. >\---- > >Speedbar will show the "Foo Bar" section title. I'm interested in >seeing the labels sec:foo-bar and def:dummy, too. Ah, righto then. Your original assessment that it could be added is correct. It is a matter of parsing all the things you care about into an ordered hierarchy as described by the variable speedbar-dynamic-tags-function-list and your insert method probably wants to use speedbar-insert-generic-list Though it doesn't seem too well documented. I'll have to fix that. Eric