From: "angelo.graziosi@alice.it" <angelo.graziosi@alice.it>
To: emacs-devel@gnu.org
Subject: Imenu does not work with C/C++ mode in recent trunk
Date: Thu, 28 Jul 2011 10:07:46 +0200 (CEST) [thread overview]
Message-ID: <1316fc8f81e.angelo.graziosi@alice.it> (raw)
In my init file I have:
;; c-mode
(add-hook 'c-mode-hook
'(lambda()
;; RET with automatic indent
(local-set-key [13] 'c-return)
;; 3
spaces for indentations
;(setq c-basic-offset 3)
;; No indent for
open bracket
(c-set-offset 'substatement-open 0)
;; Add index of
func. to menu bar
(imenu-add-to-menubar "Functions")
)
)
[...]
(setq imenu-auto-rescan t)
and so on for C++, F90, Fortran, SH... modes.
But
with recent trunk, clicking on "Functions" item on menu bar has not effects.
The last trunk I can test with which Imenu works is rev. 104859.
With other
modes Imenu works.
Ciao,
Angelo.
next reply other threads:[~2011-07-28 8:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 8:07 angelo.graziosi [this message]
2011-07-28 21:58 ` Imenu does not work with C/C++ mode in recent trunk Angelo Graziosi
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1316fc8f81e.angelo.graziosi@alice.it \
--to=angelo.graziosi@alice.it \
--cc=emacs-devel@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.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).