使用 cedet 时 Emacs 缓存保存错误
安装了 GNU Emacs 23.2.1 (i686-pc-linux-gnu) 并且我不断收到保存错误。以下行会一遍又一遍地重复,间隔可能为 30 秒。
byte-code: Beginning of buffer [6 times]
Error Writing Table: #<semanticdb-table ctype.h>
Save Error: "\"Error in macro \\\"name\\\"\"": /home/user/.emacs.d/semanticdb/!usr!include!semantic.cache
关于原因或者解决方案有什么有用的提示吗?将我的 .emacs 仅删除到以下 2 行,但问题仍然存在
(global-ede-mode 1)
(semantic-mode 1)
尝试删除 /sematicsdb/ 文件夹下的缓存文件,但仍然弹出错误。
Installed GNU Emacs 23.2.1 (i686-pc-linux-gnu) and I'm getting constant save errors. The following line is repeated over and over again with maybe 30sec intervals.
byte-code: Beginning of buffer [6 times]
Error Writing Table: #<semanticdb-table ctype.h>
Save Error: "\"Error in macro \\\"name\\\"\"": /home/user/.emacs.d/semanticdb/!usr!include!semantic.cache
Any useful tips as to why or maybe even a solution? Stripped my .emacs only to the following 2 lines but the problems still persists
(global-ede-mode 1)
(semantic-mode 1)
Tried deleting the cached files under the /sematicsdb/ folder but still the error pops up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您的头文件之一中有一个 CEDET 无法处理的宏。较新版本的 CEDET(来自 cedet.sf.net 上的 bzr 存储库的版本)首先通过修复一些宏解析问题来解决该问题,其次在保存过程中忽略这些问题。
不随 Emacs 一起提供的较新版本的 CEDET 的安装方式与 Emacs 中的安装方式不同,但如果您按照安装说明进行操作(不包括“语义模式”),它应该仍然可以工作。
There is a macro somewhere in one of your header files that CEDET can't handle. Newer versions of CEDET (the one from the bzr repository on cedet.sf.net) work around the problem first by fixing some macro parsing problems, and secondarily by ignoring those problems during a save.
The newer version of CEDET that doesn't come with Emacs has a different install than what is in Emacs, but it should still work if you follow the installation instructions (which excludes 'semantic-mode').