Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top