The best way to start debugging a problem like this is to call past
all the error capturing code in order to determine the actual issue.
Put TypeTraits.h into a buffer.
M-x toggle-debug-on-error RET
M-: (eieio-persistent-save semanticdb-current-database) RET
Emacs would then stop in the debugger and you might be able to then
divine the problem, such as a non-writable directory or something like
I'm not sure what the problem finding references is about. Someone
just posted about problems with overlay creation on XEmacs being a
problem which I suspect is in the pre6 version of CEDET.
On Wed, 2009-05-13 at 09:07 -0400, Jake Colman wrote:
> I am seeing a number of CEDET errors which I think must be caused by my
> use of XEmacs. Since CEDET works for the majority of issues, I suspect
> that my issues are caused by my environment. As a fellow (and
> knowledgeable) XEmacs user, I am hoping you can help me.
> I see many, many of the following form of error:
> Error Writing Table: #<semanticdb-table TypeTraits.h>
> Save Error: "listp": /HOME1/colman/.semanticdb/!builds!mu!PM_377!SRC!lib!MBase!semantic.cache
> If I try to find a tag reference, I get the following error:
> No such face: diary-button
> If I click on one of he results, I get the following:
> Symbol's function definition is void: diary-goto-entry
> This is my configuration:
> XEmacs 21.4.17 built on Solaris 10.
> My init.el contains the following:
> (load-file "~/site-lisp/cedet/common/cedet.el")
> (global-ede-mode 1) ; project management system
> (semantic-load-enable-gaudy-code-helpers) ; prototype help & smart completion
> (global-srecode-minor-mode 1) ; template insertion
> (require 'semantic-ia) ; support for interactive analysis
> (require 'semanticdb-global) ; support for GNU Global tags database
> (semanticdb-enable-gnu-global-databases 'c-mode)
> (semanticdb-enable-gnu-global-databases 'c++-mode)
> (ede-cpp-root-project "PP_377" :file "/builds/mu/PM_377/SRC/rules.mk"
> :include-path '("/lib/MBase"
> :system-include-path '("/usr/include"
> (defun my-cedet-hook ()
> (local-set-key [(control return)] 'semantic-ia-complete-symbol)
> (local-set-key "\C-c?" 'semantic-ia-complete-symbol-menu)
> (local-set-key "\C-c>" 'semantic-complete-analyze-inline)
> (local-set-key "\C-cp" 'semantic-analyze-proto-impl-toggle))
> (add-hook 'c-mode-common-hook 'my-cedet-hook)