From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Org Writer's room Date: Thu, 06 Dec 2012 13:00:43 +0100 Message-ID: <50C088EB.3070401@gmail.com> 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 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tga8O-0000wv-Qb for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 07:00:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tga8E-0003P6-O8 for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 07:00:56 -0500 Received: from mail-wg0-f51.google.com ([74.125.82.51]:32920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tga8E-0003Oe-G0 for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 07:00:46 -0500 Received: by mail-wg0-f51.google.com with SMTP id gg4so2739098wgb.30 for ; Thu, 06 Dec 2012 04:00:45 -0800 (PST) In-Reply-To: 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: Matt Price Cc: Eric Abrahamsen , Org Mode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/12/12 12:50, Matt Price wrote: > 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? Can't help you there - works for me and I am by nio means an expert. > > A speedbar buffer in the same frame that shows only headings of the current file would be > fantastic... > >> >> -David >> >> > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlDAiOoACgkQoYgNqgF2egqAYQCdGU3Wsoquj67JnhRu21Lz/FIv tAEAn2nedsz+aHoJ8TDYCvM+pmyxhMnd =bNNW -----END PGP SIGNATURE-----