reftex-tocinteractive mode for browsing the table of contents of the document, jumping to the relevant position.
I've been missing for a while something similar for code. While the utility of
reftex-toc is somehow limited, because I (and most probably many other people) tend to write textual documents linearly, I write code absolutely not in a linear fashion - so I spend a fair amount of my time looking for where I've written a given function... Until I decided to write a
reftex-toc-like code browsing tool. It is based on
imenu, which I find not very convenient. It works for Ruby code (within one file, does not work across file boundaries for now - which is probably better), and is really rudimentary, but functional enough. You can download it here. In the hope you might find a use for it...