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: expand/collapse latex section under speedbar ? Date: Fri, 25 Jun 2004 08:46:37 -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: <87smcmuysh.fsf@info.unicaen.fr> <87659g97a8.fsf@info.unicaen.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088538651 27187 80.91.224.253 (29 Jun 2004 19:50:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:50:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:50:45 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 1BfOcu-0000dP-00 for ; Tue, 29 Jun 2004 21:50:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOea-0006UR-O0 for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:52:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newspeer.monmouth.com!newsfeed.mathworks.com!news.mathworks.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: garritylinux.dhcp.mathworks.com Original-X-Trace: fred.mathworks.com 1088167598 14402 144.212.109.132 (25 Jun 2004 12:46:38 GMT) Original-X-Complaints-To: news@mathworks.com Original-NNTP-Posting-Date: Fri, 25 Jun 2004 12:46:38 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:buNqEhfzz/avGCau8kf4IsQuA2E= Original-Xref: shelby.stanford.edu gnu.emacs.help:123954 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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:19314 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19314 >>> Samir Saidani seems to think that: > >Euh I have imenu support, it is not the real problem... >when I click on [+] file.tex, >I have: >[+] file.tex > [ ] First Section > [ ] First Subsection > [ ] First SubSubsection > [ ] Second Subsection > >And I would have for instance : > >[-] file.tex > [-] First Section > [+] First Subsection > [ ] Second Subsection > >Do you know how to have the possibility to expand/collapse latex >section or subsection inside the speedbar ? Hi, Speedbar will mimic what you get if you use the command `imenu-add-to-menubar'. Speedbar has better support for texinfo and html commands because Richard Kim took the time to write a tag display engine for those languages. You might be able to adapt sb-texi.el to latex. You could also add support for LaTeX/TeX into semantic (a part of my CEDET project.) http://cedet.sf.net/semantic.shtml In this case, the resulting improved tag structure would be usable in imenu, speedbar, and other areas, plus you get the benefit of beginning-of-defun working in LaTeX, plus (if it is useful to you) foreign tag insertion. Lastly, support of speedbar would let you use ECB for LaTex, which would be pretty nifty too. Eric -- Eric Ludlam The MathWorks x 7556 eludlam@mathworks.com http://www.siege-engine.com http://www.mathworks.com