emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org Writer's room


From: Rainer M Krug
Subject: Re: [O] Org Writer's room
Date: Thu, 06 Dec 2012 13:00:43 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0

-----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 <address@hidden> 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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]