Hi,

Cross posting incase some of the gurus haven't switched to  
sourceforge...

I've had this problem before but I can't remember how to fix it.  I  
found an email from Paul but it doesn't give me enough information.

Basically, I'm trying to compile JDEE to increase performance.  I'm  
using "GNU Emacs 22.1.1" on Mac OS 10.5.1.  When I compile I get a  
bunch of warnings and they end with this error:

In jde-jeval-cm:
jde.el:2570:25:Warning: `compilation-finish-function' is an obsolete  
variable
     (as of Emacs 22.1); Use `compilation-finish-functions', but it  
works a
     little differently.
jde.el:2570:25:Warning: `compilation-finish-function' is an obsolete  
variable
     (as of Emacs 22.1); Use `compilation-finish-functions', but it  
works a
     little differently.
Wrote /Users/adhamh/elisp/jde/lisp/jde.elc
Wrote /Users/adhamh/elisp/jde/lisp/regress.elc

In setnu-after-change-function:
setnu.el:315:26:Warning: `string-to-int' is an obsolete function (as  
of Emacs
     22.1); use `string-to-number' instead.

In setnu-extent-at-create:
setnu.el:445:23:Warning: `string-to-int' is an obsolete function (as  
of Emacs
     22.1); use `string-to-number' instead.

In end of data:
setnu.el:452:64:Warning: the following functions are not known to be  
defined:
     set-extent-begin-glyph, remove-specifier, set-specifier
Wrote /Users/adhamh/elisp/jde/lisp/setnu.elc
Wrote /Users/adhamh/elisp/jde/lisp/which.elc
make: *** [all] Error 1


Here's the email I found from Paul about this:  
http://ml.osdir.com/emacs.jdee/2005-04/msg00014.html

I don't know much about Lisp, but I think the below code detects if  
Xemacs is being used...

(defconst setnu-running-under-xemacs
   (or (string-match "XEmacs" emacs-version)
       (string-match "Lucid" emacs-version)))

If Xemacs is being used then use these functions.

(if setnu-running-under-xemacs
     (defun setnu-set-extent-begin-glyph (e g)
       (set-extent-begin-glyph e g 'outside-margin))
   (defun setnu-set-extent-begin-glyph (e g)
     (overlay-put e setnu-begin-glyph-property g)))

I must not be understanding this correctly, because I'm running emacs  
from a terminal.

Help?

Does anyone have a solution for this?  I'm pretty stuck at this point...

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users

Reply via email to