From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: Org Writer's room Date: Thu, 6 Dec 2012 06:50:35 -0500 Message-ID: References: <87lidc6nc1.fsf@pank.eu> <50BFEA73.2050309@gmail.com> <87fw3jfvqf.fsf@ericabrahamsen.net> <87lidb7f2b.fsf@gmail.com> <50C06156.40301@gmail.com> <87zk1rpi64.fsf@engster.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgZyQ-0005rR-5K for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 06:50:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgZyO-00009F-B4 for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 06:50:38 -0500 Received: from mail-qa0-f41.google.com ([209.85.216.41]:51202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgZyO-00008q-4a for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 06:50:36 -0500 Received: by mail-qa0-f41.google.com with SMTP id o19so753417qap.0 for ; Thu, 06 Dec 2012 03:50:35 -0800 (PST) In-Reply-To: <87zk1rpi64.fsf@engster.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug , Org Mode , Eric Abrahamsen On Thu, Dec 6, 2012 at 5:51 AM, David Engster wrote: > Rainer M. Krug writes: >> On 06/12/12 09:36, Jambunathan K wrote: >>> On the left is the navbar. - You can quickly navigate to any >>> heading, a table or a captioned >>> figure. >> >> Couldn't the navbar from emacs be used for that? I haven't used it in >> a long time, but in ecb >> (Emacs Code Browswer) it is used for this - see Screenshots on >> http://ecb.sourceforge.net/ for how >> it looks there. > > Speedbar can use 'imenu' to get a list of tags, and org supports > 'imenu', so it pretty much works right away, also without ECB. Just do > > (require 'speedbar) > (speedbar-add-supported-extension ".org") > > and fire up speedbar with > > M-x speedbar > > You can now be able to click on org files and you should see the section > headings. It should also be possible to generate a speedbar frame or > buffer which only shows the tags of the current file, like ECB does, but > I would have to look that up if that's important. that sounds cool. I hadn't really used speedbar before, but now I can see the attraction. (1) do you know if it's possible to get the speedbar buffer in a window instead of a frame? (2) org headings are not showing up for me with those two lines of code. Evaluating (speedbar-add-supported-extension ".org") gives "\\(\\(\\.\\(org\\|[ch]\\(\\+\\+\\|pp\\|c\\|h\\|xx\\)?\\|tex\\(i\\(nfo\\)?\\)?\\|el\\|emacs\\|l\\|lsp\\|p\\|java\\|js\\|f\\(90\\|77\\|or\\)?\\|ad[abs]\\|p[lm]\\|tcl\\|m\\|scm\\|pm\\|py\\|g\\|s?html\\|ma?k\\)\\)\\|\\([Mm]akefile\\(\\.in\\)?\\)\\)$" but trying to click on the "+" symbol in the speedbar frame next to an org file gives only: Sorry, no support for a file of that extension Is it possible I need something else to make the extension work? A speedbar buffer in the same frame that shows only headings of the current file would be fantastic... > > -David > >