Re: [Orgmode] imenu

From:

Bastien

Subject:

Re: [Orgmode] imenu

Date:

Sun, 09 Dec 2007 00:15:59 +0000

User-agent:

Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Hi Dimitris,
"Dimitris Kapetanakis" <address@hidden> writes:
> I really liked the imenu feature. It is very useful especially for big files.
> However, it does not appear automatically when I open an org file (I made the
> addition you described in .emacs). But it does appear if I make inside the org
> buffer imenu-add-to-menubar (and then a name e.g. toc).
>
> Do I do something wrong?
There was a small typo in Carsten's message from december, 5th. This
should work:
(add-hook 'org-mode-hook
(lambda () (imenu-add-to-menubar "Imenu")))
HTH,
--
Bastien