all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* taglist for emacs?
@ 2011-06-23  1:59 Jai Dayal
  2011-06-25  9:28 ` Oleksandr Gavenko
  0 siblings, 1 reply; 2+ messages in thread
From: Jai Dayal @ 2011-06-23  1:59 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 369 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: taglist for emacs?
  2011-06-23  1:59 taglist for emacs? Jai Dayal
@ 2011-06-25  9:28 ` Oleksandr Gavenko
  0 siblings, 0 replies; 2+ messages in thread
From: Oleksandr Gavenko @ 2011-06-25  9:28 UTC (permalink / raw)
  To: help-gnu-emacs

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)






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-25  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-23  1:59 taglist for emacs? Jai Dayal
2011-06-25  9:28 ` Oleksandr Gavenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.