Paul,
I have two possible answers. One is to have someone with the problem try this:
*** semantic.el.or Mon Feb 12 08:02:33 2001
--- semantic.el Mon Feb 12 08:03:57 2001
***************
*** 245,251 ****
(defalias 'semantic-overlay-p 'extentp)
)
(defalias 'semantic-overlay-live-p 'overlay-buffer)
! (defalias 'semantic-make-overlay 'make-overlay)
(defalias 'semantic-overlay-put 'overlay-put)
(defalias 'semantic-overlay-get 'overlay-get)
(defalias 'semantic-overlay-delete 'delete-overlay)
--- 245,253 ----
(defalias 'semantic-overlay-p 'extentp)
)
(defalias 'semantic-overlay-live-p 'overlay-buffer)
! (defalias 'semantic-make-overlay
! (lambda (beg end)
! (overlay-put (make-overlay beg end) 'face nil)))
(defalias 'semantic-overlay-put 'overlay-put)
(defalias 'semantic-overlay-get 'overlay-get)
(defalias 'semantic-overlay-delete 'delete-overlay)
which basically forces a null face onto all overlays created by
semantic when it is created. Other possibilities is to set the face
to 'default. (This is for Emacs, not XEmacs.)
In the next version of semantic, token streams without buffers will be
supported. It might be possible to have an option to turn off
overlays all together. It will take a bit of work to make it
go, though not as much as making it work in semantic 1.3.2.
Unfortunately removing overlays will remove a bunch of the features
that will make semantic faster to use.
Eric
>>> Paul Kinnucan <[EMAIL PROTECTED]> seems to think that:
>At 09:22 AM 1/23/2001 +0100, David Ponce wrote:
>>Hello,
>>
>>I got the same problem on Solaris 2.7 with Emacs 20.7.1. This is a
>>known overlays related bug fixed by the attached patch that Emacs
>>maintainers sent to me.
>>
>
>I am getting many reports of this "bug" and it is affecting other versions
>of Emacs besides 20.7.1 and occuring on Linux as well as Solaris.
>
>I wish I knew what is causing the bug. I gather that David thinks that it
>has something to do with overlays. This would explain why the problem
>appears when people upgrade from JDE 2.2.5 to 2.2.5, since 2.2.6 is the
>first to use the version of semantic that relies on overlays to track the
>locations of tokens in a Java buffer. Is it possible that there is some bug
>in how semantic uses overlays?
>
>Unfortunately, it does not occur on my Solaris machine or any of the
>Windows machines I use (Windows 95, Millenium, NT). It appears that there
>is something some users do or do not do that triggers the bug.
>
>Some users seem to have fixed the problem by doing a
>set-background-color/set-foreground-color in either Lisp or their XDefaults
>file or not setting a default face. I do not know whether this is a fix
>that works in all cases.
>
>Anyway, this is becoming a major issue and I am at a loss about what to do
>next. I don't think it's acceptable to ask people to wait for Emacs 21 or
>to "patch" and recompile existing Emacs from the sources. I don't relish
>removing semantic from the JDE but I may have to do so if a reliable,
>reasonable fix for this problem does not emerge.
>
>- Paul
>
>
>>Hope this will help.
>>
>>Sincerely,
>>David
>>
>>>
>>>Hello.
>>>With semantic bovinator > 1.2.1 I lose all of my highlighting in JDE.
>>I'm
>>>trying to upgrade to JDE2.2.6 cannot do so with out losing syntax
>>highlights.
>>>(i.e., jde2.2.6 requires semantic-1.3.2).
>>>
>>>I'm using minimal .emacs to test.
>>>I'm on sun-sparc-solaris 2.8 .
>>>I'm running gnu-emacs 20.7.1
>>>
>>>Any hints???
>>>
>>>Thanks in advance.
>>>~Mathew Rippa
>>
>>
>
--
Eric Ludlam "Photonic Doodler" The MathWorks x 7556
[EMAIL PROTECTED] (work) http://www.mathworks.com
[EMAIL PROTECTED] (home) http://www.siege-engine.com