2

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

理由や解決策についての役立つヒントはありますか? 次の 2 行だけに .emacs を削除しましたが、問題は解決しません

(global-ede-mode 1)
(semantic-mode 1)

/sematicsdb/ フォルダーの下にあるキャッシュされたファイルを削除しようとしましたが、それでもエラーがポップアップします。

4

1 に答える 1

3

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').

于 2010-11-29T23:13:19.940 に答える