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:26:59 +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 13:07, David Engster wrote:
> Matt Price writes:
>> (1) do you know if it's possible to get the speedbar buffer in a window 
>> instead of a frame?
> 
> I initially thought that would be easy. Turns out it isn't. ECB uses all 
> kinds of 'defadvice'
> to achieve that.
> 
> There's a package sr-speedbar at
> 
> http://www.emacswiki.org/SrSpeedbar
> 
> but I don't know if that one's still working.

Just installed it and it is working.
Should solve this.

Rainer

> 
>> (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?
> 
> I tried with 'emacs -Q' and it "works for me". Make sure you do the above 
> *before* firing up
> speedbar.
> 
>> A speedbar buffer in the same frame that shows only headings of the current 
>> file would be
>> fantastic...
> 
> Instead of bending Speedbar to your will, maybe it's just easier if you'd 
> look at other
> solutions. As I've written, Speedbar simply resorts to 'imenu' to get the 
> tags. Calling
> 'imenu-add-to-menubar' will let you generate a menu entry for the headings; 
> that should also
> work with every org file. Maybe there's a little package out there putting 
> the imenu headings
> in a buffer; it can't be very hard to do. Just take a look
> 
> http://emacswiki.org/emacs/ImenuMode
> 
> as a starting point.
> 
> -David
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      address@hidden

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlDAjxMACgkQoYgNqgF2egrj4wCcCaOivxyhPaiE7ZGrShE4XE9d
ixUAn2DxqX8giEfcSO8Y7rxuZEUT0GmC
=le+a
-----END PGP SIGNATURE-----



reply via email to

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