Running GNU emacs I get an error message when loading a java file with the default site-gentoo.el loaded. The source of this message is probably /usr/share/emacs/site-lisp/cedet/semantic/semantic-sb.el, where the following command is included at top level: (eval-and-compile (inversion-require 'speedbar "0.15beta1")) Reproducible: Always Steps to Reproduce: 1. start GNU emacs, automatically loading site-gentoo.el 2. open java file, using jde-mode Actual Results: Fundamental mode, error message in minibuffer: File mode specification error: (error "You need to upgrade package speedbar to 0.15beta1") Expected Results: File loaded and fontified according to jde-mode
I found out that I don't have app-emacs/speedbar installed at all. cedet itself includes a recent version of speedbar, namely 1.0pre3. But evaluating speedbar-version in my emacs gives me "0.13". I guess this comes from the speedbar.el shipped with vhdl-mode-3.33.3. Strangely, I can even load all the *-gentoo.el files, manually comment out some of them including site-gentoo.el and 50vhdl-mode-gentoo.el, but still speedbar version 0.13 is loaded as long as I include 50php-mode-gentoo.el which comes from php-mode-1.1.0.
After unmerging vhdl-mode and remerging cedet, php-mode and jde, things seem to work.
Sounds like a race between the app-emacs/speedbar or app-emacs/cedet and the speedbar code included with vhdl-mode
*vhdl-mode-3.33.8 (06 Mar 2006) 06 Mar 2006; Matthew Kennedy <mkennedy@gentoo.org> files/50vhdl-mode-gentoo.el, +vhdl-mode-3.33.8.ebuild: New upstream version; Use our Gentoo ports of app-emacs/cedet or app-emacs/speedbar instead of the bundled ones; Resolves Bug #115547.