Steve Youngs <youngs(a)xemacs.org> writes:
I'm bringing in a new version of semantic (to go with JDE 2.2.5)
and
this snippet of code is giving me hell...
Two points:
* JDE 2.2.5 doesn't run properly with semantic 1.3, the next version
of JDE 2.2.6 will (according to the JDE mailing list).
* semantic 1.3 actually contains some code to use overlays OR
extends. It checks with this code:
,----
| (if (fboundp 'make-overlay)
| (progn
| (defalias 'semantic-make-overlay 'make-overlay)
| [more aliases]
| )
| (defalias 'semantic-make-overlay 'make-extent)
| [more aliases]
| )
`----
There is the same problem with the newest version of speedbar, too.
And for some reason overlay.el get's loaded in my configuration, so
speedbar (or semantic for that matter) initialize the overlay aliases
instead of the extend aliases. And those don't work well enough in
XEmacs. I suggest to check simply for (featurep 'xemacs) wich is
kinda dirty but should work well.
I CC'ed Eric Ludlam, who is the author of semantic and speedbar to
avoid differences between the author version and XEmacs version,
especially if the author tries to be compatible with XEmacs.
Gerd