Hi,

Two eyes are always better than one ... 

I had the same problem (Sun Solaris, XEmacs 20.3) and had it solved by adding the 
following lines to .xemacs-options (BTW, it is read by xemacs only so you don't 
need any logic like "if this is XEmacs ..." - I have no enough knowledge of elisp 
either):

;;--lmd: Paul Kinnucan <[EMAIL PROTECTED]> 's JDE http://sunsite.auc.dk/jde/
;;       since xEmacs does not define it (as opposed to Paul's favorite emacs :-)
(setq system-name "localhost")

"localhost" was just to have something in it. I don't know if it's meaningful.

Now having learned from you about xemacs function system-name ... you guessed, I 
changed the above lines as follows:

;;--lmd: Paul Kinnucan <[EMAIL PROTECTED]> 's JDE http://sunsite.auc.dk/jde/
;;       since xEmacs does not define it (as opposed to Paul's favorite emacs :-)
;;(setq system-name "localhost")
(setq system-name (system-name))

and it works ! :-)

As I said in the beginning ... even if teir "lisp is far to limited ..." :-)



Have fun

Latchezar

>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-Authentication-Warning: sbodewig.bost.de: bodewig set sender to [EMAIL PROTECTED] 
using -f
>To: <[EMAIL PROTECTED]>
>Subject: Problem with 2.1.6 and XEmacs 21.1.9 (system-name is void)
>From: Stefan Bodewig <[EMAIL PROTECTED]>
>Date: 05 Jun 2000 16:48:04 +0200
>User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Canyonlands)
>MIME-Version: 1.0
>
>Hi,
>
>JDE initialization fails on my system (XEmacs 21.1.9 on Linux) with
>2.1.6, it worked with the latest beta.
>
>The reason for this is
>
>(defcustom jde-bug-debugger-host-address system-name
>  "*Address of system on which JDEbug is running.
>The default value is the value of the standard Emacs variable `system-name'."
>  :group 'jde-debug
>  :type 'string)
>
>While system-name might be a standard Emacs variable it is a function
>in XEmacs - at least in my version 8^). The workaround for me is to
>change it to
>
>(defcustom jde-bug-debugger-host-address (system-name)
>   ...
>
>My lisp is far to limited to change this to an "if this is XEmacs do
>this else do that" solution, sorry.
>
>Stefan
>


Latchezar Dimitrov                     Wake Forest University, Winston-Salem, NC
home: (336) 794-2094                   grad.lab: (336) 758-4954     
mailto:[EMAIL PROTECTED]           http://www.wfu.edu/~dimil01g

"A computer lets you make more mistakes faster than
any invention in human history--with the possible
exceptions of handguns and tequila."
                       --Mitch Ratliffe, "Technology Review"

Reply via email to