GNU emacs 是否有等效的 func-menu ?当我可以访问 xemacs 时,我使用了 func-menu,并且与 speedbar 或 sr-speedbar 相比,我更喜欢它的行为。具体来说:
GNU emacs 是否有一个更接近 func-menu 的软件包?
imenu
GNU Emacs 中也有类似的功能。
See C-hf imenu-add-menubar-index
RET.
You can call that in your mode hooks for modes with imenu
support.
elisp 自然是支持的,所以快速演示一下:
-
M-x
find-library
RET imenu
RET
-
M-x
imenu-add-menubar-index
RET
and then see the new "Index" item in the menu bar, and also on C-<mouse3>
Of course there's also a keyboard interface, simply by calling M-x imenu
RET (with TAB completion), but I would highly recommend adding the ido
integration which can be found at the EmacsWiki http://emacswiki.org/emacs/ImenuMode* -- I find that to be a generally faster interface than using the mouse.
For more details, see C-hig (elisp) Imenu
RET
For configuration, see M-x customize-group
RET imenu
RET
(*) 还有许多其他增强该功能的方法,所以即使您不想使用ido
,在看到基本版本的实际运行后,您绝对应该阅读该 Wiki 页面。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)