XEmacs users need to change the alias for `semantic-overlays-at' in
semantic.el with the following definition:

*** semantic.el.orig    Thu Dec 21 19:46:41 2000
--- semantic.el Thu Dec 21 19:47:30 2000
***************
*** 232,236 ****
        (defalias 'semantic-overlay-get 'extent-property)
        (defalias 'semantic-overlay-delete 'delete-extent)
-       (defalias 'semantic-overlays-at 'extent-at)
+       (defalias 'semantic-overlays-at
+         (lambda (pos) (extent-list nil pos pos)))
        (defalias 'semantic-overlays-in 
        (lambda (beg end) (extent-list nil beg end)))

A new version of semantic will be available soon with this fix (along
with the other things slowing me down.)

Eric

>>> Paul Kinnucan <[EMAIL PROTECTED]> seems to think that:
>At 06:12 PM 12/21/00 +0100, Gerd Boerrigter wrote:
>>Hi,
>>
>>I installed the newest JDE and all the necessary libraries from Eric
>>in the newest version (from the high-speed site) and just a minimal
>>.emacs file to initialize all components.  I am using XEmacs 21.1.7
>>under Linux and I am getting this error:
>>
>
>Perhaps there is an obsolete version of semantic in your load-path. Perhaps
>the obsolete version that started shipping with recent releases of XEmacs.
>
>- Paul
>
>
>>,----
>>| Signaling: (wrong-type-argument listp #<extent [827, 952) text-prop 
>>0x834e094 in buffer VersionObject.java>)
>>|   car(#<extent [827, 952) text-prop 0x834e094 in buffer VersionObject.java>)
>>|   (semantic-overlay-get (car ol) (quote semantic))
>>| )
>>|   (let ((tmp ...)) (when tmp (setq ret ...)))
>>| )
>>|   (while ol (let (...) (when tmp ...)) (setq ol (cdr ol)))
>>| )
>>|   (let ((ol ...) (ret nil)) (while ol (let ... ...) (setq ol ...)) (sort 
>>ret (lambda ... ...)))
>>| )
>>|   (save-excursion (when positionormarker (if ... ... ...)) (let (... ...) 
>>(while ol ... ...) (sort ret ...)))
>>| )
>>|   semantic-find-nonterminal-by-overlay()
>>|   (nreverse (semantic-find-nonterminal-by-overlay))
>>| )
>>|   (car (nreverse (semantic-find-nonterminal-by-overlay)))
>>| )
>>|   semantic-current-nonterminal()
>>|   (save-excursion (beginning-of-line) (jde-javadoc-skip-spaces-forward) 
>>(semantic-current-nonterminal))
>>| )
>>|   jde-javadoc-nonterminal-at-line()
>>|   (let ((p ...) (token-at-line ...) start end) (and token-at-line (memq 
>>... ...) (save-excursion ... ... ...)))
>>| )
>>|   jde-javadoc-enable-menu-p()
>>`----
>>
>>Am I really the only one getting this problem?  It sounded that this
>>version of JDE would work well with XEmacs, but maybe I messed up my
>>setup.  Or did I miss some patch?  Any help would be appreciated.
>>
>>Thanks.
>>Gerd
>

Reply via email to