Hi Leo,
I haven't tried Emacs 23.2 or any earlier variants to know what is wrong
with combining the two. At a guess, the load path is probably allowing
some bits of Emacs/CEDET and CVS/CEDET to cross-combine, which won't
work since there are a lot of incompatible changes wrt to byte compilation.
I do know that Emacs 23.2 has new ways of initializing Semantic. The
NEWS file describes how to turn it on with a function called
`semantic-mode'. (I think, I don't remember off the top of my head.)
Perhaps someone on the mailing list has some more experience in this
combo and can provide some advice?
Thanks
Eric
On 05/09/2010 05:40 PM, Leo Alekseyev wrote:
> Installing Emacs 23.2 seems to have broken my Semantic setup. In my
> .emacs, the following commands
> ;; (load-file (expand-file-name
> "~/.emacs.d/elisp/cedet-1.0pre7/common/cedet.el"))
> ;; (semantic-load-enable-minimum-features)
> ;; (semantic-load-enable-code-helpers)
> ;; (global-semantic-tag-folding-mode)
>
> now produce an error: "byte-code: Symbol's value as variable is void:
> warning-suppress-types"
>
> I tried removing the (load-file ...) line, hoping that the version of
> Semantic bundled with 23.2 would work better but it makes no
> difference.
> I tried byte-compiling the existing cedet-1.0pre7 code under the new
> version of emacs, but I get the following compilation error:
>
> "emacs" -batch --no-site-file -l utests-compile-script -f
> batch-byte-compile cogre-utest.el
> Loading cedet-compat...
> Outdated speedbar 1.0 shadowed to meet minimum version 1.0.3
> Setting up CEDET packages...
> Cannot open load file: eieio-load
> Cannot open load file: semantic-load
> Cannot open load file: srecode-load
> Cannot open load file: ede-load
> Cannot open load file: srecode-dictionary
> Cannot open load file: contrib-loaddefs
> Setting up CEDET packages...done
>
> In toplevel form:
> cogre-utest.el:32:1:Error: Wrong number of arguments: #[(old new)
> "\30\303 #\210\30\304\305#\210\302 \30#\207" [old new put
> overload-obsoleted-by mode-local-overload t overload-obsolete] 4
> ("c:/home/Leo/.emacs.d/elisp/cedet-1.0pre7/common/mode-local.elc" .
> 15570)], 3
> make[1]: *** [utests] Error 1
> make[1]: Leaving directory
> `/cygdrive/c/home/Leo/.emacs.d/elisp/cedet-1.0pre7/cogre'
> make: *** [cogre] Error 2
>
>
> I'd appreciate any hints on getting Semantic to work again under 23.2...
> Thanks,
> --Leo
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Cedet-devel mailing list
> Cedet-devel@...
> https://lists.sourceforge.net/lists/listinfo/cedet-devel
>
|