emacs-devel
[Top][All Lists]
Advanced

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

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


From: Angelo Graziosi
Subject: Re: Imenu does not work with C/C++ mode in recent trunk
Date: Thu, 28 Jul 2011 23:58:38 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0

It looks that the drop-down menu (see attachment) is very very "compressed" in C/C++ mode...

Ciao,
Angelo.

I wrote:
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.

Attachment: imenu-cmode.jpg
Description: JPEG image


reply via email to

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