emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Imenu does not work with C/C++ mode in recent trunk


From: address@hidden
Subject: Imenu does not work with C/C++ mode in recent trunk
Date: Thu, 28 Jul 2011 10:07:46 +0200 (CEST)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]