emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Price <moptop99@gmail.com>
To: Rainer M Krug <R.M.Krug@gmail.com>,
	Org Mode <emacs-orgmode@gnu.org>,
	Eric Abrahamsen <eric@ericabrahamsen.net>
Subject: Re: Org Writer's room
Date: Thu, 6 Dec 2012 06:50:35 -0500	[thread overview]
Message-ID: <CAN_Dec_RRrUp3VA7nje_W5XN1URB=OVmpybuvZe-L76kd3NRSw@mail.gmail.com> (raw)
In-Reply-To: <87zk1rpi64.fsf@engster.org>

On Thu, Dec 6, 2012 at 5:51 AM, David Engster <deng@randomsample.de> 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
>
>

  parent reply	other threads:[~2012-12-06 11:50 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-05 16:01 Org Writer's room Matt Price
2012-12-05 23:08 ` Andrew Hyatt
2012-12-06  0:22   ` Rasmus
2012-12-06  0:44     ` Alan L Tyree
2012-12-06  2:21       ` Matt Price
2012-12-06  7:12         ` Scot Becker
2012-12-06  8:08         ` Eric Abrahamsen
2012-12-06  8:36           ` Jambunathan K
2012-12-06  9:11             ` Rainer M Krug
2012-12-06  9:14               ` Rainer M Krug
2012-12-06 10:28                 ` Rainer M Krug
2012-12-06 10:51               ` David Engster
2012-12-06 11:25                 ` Rainer M Krug
2012-12-06 11:55                   ` Matt Price
2012-12-06 11:58                     ` Rainer M Krug
2012-12-06 11:50                 ` Matt Price [this message]
2012-12-06 12:00                   ` Rainer M Krug
2012-12-06 12:07                   ` David Engster
2012-12-06 12:26                     ` Rainer M Krug
2012-12-06 11:59             ` Matt Price
2012-12-06 12:09           ` Matt Price
2012-12-06 14:15             ` Eric Abrahamsen
2012-12-06 15:51               ` Matt Price
2012-12-07  8:39                 ` Rainer M Krug
2012-12-07 12:57                   ` Matt Price
2012-12-07 13:11                     ` Rainer M Krug
2012-12-06  4:21 ` Yagnesh Raghava Yakkala
2012-12-06 12:00   ` Matt Price
2012-12-06 18:18     ` Yagnesh Raghava Yakkala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN_Dec_RRrUp3VA7nje_W5XN1URB=OVmpybuvZe-L76kd3NRSw@mail.gmail.com' \
    --to=moptop99@gmail.com \
    --cc=R.M.Krug@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).