From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: imenu Date: Sun, 09 Dec 2007 00:15:59 +0000 Message-ID: <87d4tgg1ts.fsf@bzg.ath.cx> References: <2a6300ea0712050703s41526f5br5aa3d2d6768b158b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J19q1-0002UY-AI for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:16:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J19q0-0002UM-Jg for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:16:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J19q0-0002UJ-Fd for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:16:04 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J19q0-0002R5-62 for emacs-orgmode@gnu.org; Sat, 08 Dec 2007 19:16:04 -0500 Received: by nf-out-0910.google.com with SMTP id f5so734340nfh for ; Sat, 08 Dec 2007 16:16:02 -0800 (PST) In-Reply-To: <2a6300ea0712050703s41526f5br5aa3d2d6768b158b@mail.gmail.com> (Dimitris Kapetanakis's message of "Wed, 5 Dec 2007 17:03:39 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Dimitris, "Dimitris Kapetanakis" 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