> Regarding Re: problems with make-extent in matlab.el using the
matlab debugger.; Jerry James <james(a)xemacs.org> adds:
Are you willing to try an experiment?
Of course!
>
What happens if you alias those to the overlay functions defined in
the
fsf-compat package (overlay.el)? For example:
(require 'overlay)
(defalias 'matlab-make-overlay 'make-overlay)
(defalias 'matlab-overlay-put 'overlay-put)
etc.
Well I tried:
(if (featurep 'xemacs)
(require 'overlay))
;; compatibility
(if (string-match "X[Ee]macs" emacs-version)
(progn
; (defalias 'matlab-make-overlay 'make-extent)
(defalias 'matlab-make-overlay 'make-overlay)
(defalias 'matlab-overlay-put 'set-extent-property)
(defalias 'matlab-overlay-get 'extent-property)
; (defalias 'matlab-delete-overlay 'delete-extent)
(defalias 'matlab-delete-overlay 'delete-overlay)
; (defalias 'matlab-overlay-start 'extent-start-position)
(defalias 'matlab-overlay-start 'overlay-start)
; (defalias 'matlab-overlay-end 'extent-end-position)
(defalias 'matlab-overlay-end 'overlay-end)
; (defalias 'matlab-previous-overlay-change 'previous-extent-change)
(defalias 'matlab-previous-overlay-change 'previous-overlay-change)
; (defalias 'matlab-next-overlay-change 'next-extent-change)
(defalias 'matlab-next-overlay-change 'next-overlay-change)
(defalias 'matlab-overlays-at
(lambda (pos) (extent-list nil pos pos)))
But the behavior did not change :'(
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta