|
From: | Oleksandr Gavenko |
Subject: | Re: taglist for emacs? |
Date: | Sat, 25 Jun 2011 12:28:36 +0300 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 |
On 23.06.2011 4:59, Jai Dayal wrote:
Hi, I was wondering if there was a simple taglist feature (something besides speedbar, it doesn't seem to work too well) for emacs? With this vim taglist, you have a couple vertical buffers that basically show you your tags (structs, functions, macros, etc). I seem to be having trouble finding something like this for emacs. Thank you!
How about imenu? Try in .c buffer type M-x imenu TAB TAB. I use this code snipest to shown funcs/vars/defs in popup menu by pressing <APP> key: (defun my-imenu-to-menubar () (imenu-add-menubar-index) (run-hooks 'menu-bar-update-hook) ) (require 'imenu) (mapc (lambda (hook) (add-hook hook 'my-imenu-to-menubar))my-devel-mode-hook-list) ; <-- list like '(c-mode-hook c++-mode-hook java-mode-hook)
Complexity of this code come from my preference: (menu-bar-mode -1)
[Prev in Thread] | Current Thread | [Next in Thread] |