emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* imenu
@ 2007-12-05 15:03 Dimitris Kapetanakis
  2007-12-09  0:15 ` imenu Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Dimitris Kapetanakis @ 2007-12-05 15:03 UTC (permalink / raw)
  To: emacs-orgmode


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

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?

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

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: imenu
  2007-12-05 15:03 imenu Dimitris Kapetanakis
@ 2007-12-09  0:15 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2007-12-09  0:15 UTC (permalink / raw)
  To: emacs-orgmode

Hi Dimitris,

"Dimitris Kapetanakis" <katepano@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-09  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-05 15:03 imenu Dimitris Kapetanakis
2007-12-09  0:15 ` imenu Bastien

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).