emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "David O'Toole" <dto1138@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: imenu support for babel blocks
Date: Sat, 17 Jul 2010 16:57:53 -0400	[thread overview]
Message-ID: <AANLkTimCiay9zkLkB8SKbosrJAL8Ob01-aGt79hetnkz@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 459 bytes --]

I tried the following to get an Imenu composed of babel blocks, so that you
could browse/jump to blocks. But it doesn't seem to work, I'm guessing that
something about how org-mode builds the imenu-generic-expression overwrites
my entry. Is there a hook (or could there be a hook added) that allows me to
imenu-ify more constructs?

  (push (list "Source code chunks"
"^#\\+\\(source:\\|srcname:\\|function:\\) \\(.*\\)$" 2)
        imenu-generic-expression)

[-- Attachment #1.2: Type: text/html, Size: 550 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-07-17 20:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-17 20:57 David O'Toole [this message]
2010-07-18  4:01 ` [PATCH] Quote path argument in ob-ditaa Gregory J. Grubbs
2010-07-18  5:43   ` Patchwork: Patch 150 Accepted Carsten Dominik
2010-07-18  5:51   ` [PATCH] Quote path argument in ob-ditaa Carsten Dominik
2010-07-20 22:30 ` imenu support for babel blocks Eric Schulte
2010-12-01 16:17   ` Sébastien Vauban

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=AANLkTimCiay9zkLkB8SKbosrJAL8Ob01-aGt79hetnkz@mail.gmail.com \
    --to=dto1138@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).