Hi David,
I've never used imenu myself, but that sounds useful. I'd recommend
using the following rather than building your own regexp
--8---cut here---start-8---
(push (list Source code chunks
org-babel-src-name-w-name-regexp 2)
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