emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: imenu
Date: Sun, 09 Dec 2007 00:15:59 +0000	[thread overview]
Message-ID: <87d4tgg1ts.fsf@bzg.ath.cx> (raw)
In-Reply-To: <2a6300ea0712050703s41526f5br5aa3d2d6768b158b@mail.gmail.com> (Dimitris Kapetanakis's message of "Wed, 5 Dec 2007 17:03:39 +0200")

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

      reply	other threads:[~2007-12-09  0:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-05 15:03 imenu Dimitris Kapetanakis
2007-12-09  0:15 ` Bastien [this message]

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=87d4tgg1ts.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --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).