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:26:59 +0100 Message-ID: <50C08F13.90301@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> <87vccfpen5.fsf@engster.org> Reply-To: Rainer@krugs.de 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]:60456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgaXm-0003Qn-QZ for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 07:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgaXf-0001mz-Oo for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 07:27:10 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:56342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgaXf-0001mh-If for emacs-orgmode@gnu.org; Thu, 06 Dec 2012 07:27:03 -0500 Received: by mail-bk0-f41.google.com with SMTP id jg9so2895028bkc.0 for ; Thu, 06 Dec 2012 04:27:01 -0800 (PST) In-Reply-To: <87vccfpen5.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: Matt Price , Org Mode , Eric Abrahamsen -----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: Rainer@krugs.de 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-----