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.