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

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.

> (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

  parent reply	other threads:[~2012-12-06 12:08 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
2012-12-06 12:00                   ` Rainer M Krug
2012-12-06 12:07                   ` David Engster [this message]
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=87vccfpen5.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=R.M.Krug@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=moptop99@gmail.com \
    /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).