我在使用函数"eassist-list-methods“时遇到了这个问题,
eassist-function-tags: Invalid function: semantic-find-tags-by-class你能帮我解决这个问题吗?我使用最新的cedet-devel版本emacs版本是:24.2
发布于 2015-08-11 11:16:38
http://sourceforge.net/p/cedet/mailman/message/30564469/
我在其中添加了一个:(require ' semantic /find),它可以解决这些问题。如果出现任何其他未知的函数,只需在lisp/cedet/ package中的某个地方使用grep (例如,假设任何以w/ semantic-开头的函数都在semantic包中),然后在eassist中添加上述require。
<pre>
diff -Naur eassist.el.orig eassist.el
--- eassist.el.orig 2015-08-11 11:03:58.544695143 +0800
+++ eassist.el 2015-08-11 10:59:17.456679391 +0800
@@ -103,6 +103,7 @@
;;; Code:
(require 'semantic)
+(require 'semantic/find)
;; ================================== My STRING utils ========================
(defun eassist-string-without-last (string n)
</pre> semantic-find-tags by-class函数是一个宏,因此您需要使用我上次提供的补丁重新编译eassist。这应该会最终解决问题。
您可以通过打开eassist.el并执行以下操作来实现
M-x字节编译文件RET
然后:
M-x加载库RET eassist RET
你可以试试这个:https://github.com/liugang/taglist
taglist插件是Emacs的源代码浏览器插件,它提供了编程语言文件结构的概述
https://stackoverflow.com/questions/15223929
复制相似问题