You're probably right (I don't have any experience with emacs or xemacs under Win 
-- it might well be that this (win) is the problem :-)). 

It was only a joke and I appologize if it sounded more than that. It really stands 
in my .xemacs-options file as a funny reminder that xemacs and emacs are not the 
same thing. I like emacs even more, esp. the ideas of its author but unfortunately 
I have an older version of it in the comp. lab here so I use xemacs.

Anyway, JDE is great and I use it with pleasure - thanks a lot. BTW with prev. 
e-mail I only liked to help people who like me have to use xemacs use JDE on it.

3 hours later ....

remembering that emacs I have has also a function (system-name) I downloaded the 
latest and greatest (20.6) v. of emacs from gnu.org and looked at startup.el and 
saw the same thing. So now those lines in my .xemacs-options look like this:

;;--lmd: Paul Kinnucan <[EMAIL PROTECTED]> 's JDE http://sunsite.auc.dk/jde/
;;       since xEmacs does not define it
;;(setq system-name (system-name))
;;--lmd: prev. line commented out:
;;       since both Emacs and xEmacs have a function (system-name)
;;       I chnaged the following line(135) in 'jde-bug.el':
; (defcustom jde-bug-debugger-host-address system-name
;;       to:
; (defcustom jde-bug-debugger-host-address (system-name)

and it works for me (xEmacs). Since I have no easy way to check this with emacs 
I'd suggest you check it and if it's ok just  do the same. BTW, the version of 
emacs I have installed (Sun Solaris, emacs-20.2) seems not to read .emacs at 
startup at all or at least does not start JDE nor speedbar. Id appreciate your 
helping me (.emacs attached).


Thanks

Latchezar

>X-Sender: [EMAIL PROTECTED]
>Date: Mon, 05 Jun 2000 15:23:54 -0400
>To: "Latchezar M. Dimitrov" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>From: Paul Kinnucan <[EMAIL PROTECTED]>
>Subject: Re: Problem with 2.1.6 and XEmacs 21.1.9 (system-name is void)
>Mime-Version: 1.0
>
>At 02:57 PM 6/5/00 -0400, Latchezar M. Dimitrov wrote:
>>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 :-)
>
>Since GNU Emacs is the only editor I can use productively on Windows for
>Java development, I guess you could say it's my favorite editor. Fact is,
>I've evaluated just about every new release of the native XEmacs version of
>Windows over the last year in the hope that it would be stable and
>functional enough for me to consider making it my primary editor on
>Windows. I'm still waiting for that hope to be realized.
>
>- Paul
>


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"
(setq load-path
            (append load-path '("/<directory_where_WorkShop_is_installed>/lib")))
         (require 'workshop)

;; Options Menu Settings
;; =====================
(cond
 ((and (string-match "XEmacs" emacs-version)
       (boundp 'emacs-major-version)
       (or (and
            (= emacs-major-version 19)
            (>= emacs-minor-version 14))
           (= emacs-major-version 20))
       (fboundp 'load-options-file))
  (load-options-file "/home/deacon/csgrad/lmdimi/.xemacs-options")))
;; ============================
;; End of Options Menu Settings

;;--lmd:
;; find local info nodes
(setq Info-default-directory-list
      (append Info-default-directory-list 
'("/home/deacon/csgrad/lmdimi/usr/local/share/emacs/info")))


;;--lmd:
;;--Add things at the beginning of the load-path, do not add duplicate directories:
(pushnew (expand-file-name "~/usr/local/share/emacs/info") load-path :test 'equal)

;;--lmd:
(pushnew (expand-file-name "~/usr/local/share/emacs/site-lisp/Ada") load-path :test 
'equal)

;;--lmd:Per Abrahamsen's Custom & Widget <[EMAIL PROTECTED]> 
http://www.dina.kvl.dk/~abraham/custom/
;;(pushnew (expand-file-name "~/usr/local/share/emacs/site-lisp/custom") load-path 
:test 'equal)

;;--lmd: Eric Ludlam's mailto:[EMAIL PROTECTED] or [EMAIL PROTECTED] speedbar 
http://choochoo.ultranet.com/~zappo/fsf.shtml
(pushnew (expand-file-name "~/usr/local/share/xemacs/site-lisp/semantic") load-path 
:test 'equal)

;;--lmd: Eric Ludlam's mailto:[EMAIL PROTECTED] or [EMAIL PROTECTED] speedbar 
http://choochoo.ultranet.com/~zappo/fsf.shtml
(pushnew (expand-file-name "~/usr/local/share/xemacs/site-lisp/speedbar") load-path 
:test 'equal)
;;          (setq load-path
;;             (cons "~/.xemacs/speedbar" load-path))
;; (autoload 'speedbar-frame-mode "speedbar" "Popup a speedbar frame" t)
;; (autoload 'speedbar-get-focus "speedbar" "Jump to speedbar frame" t)
     (add-menu-button '("Tools")
                      ["Speedbar" speedbar-frame-mode
                       :style toggle
                       :selected (and (boundp 'speedbar-frame)
                                      (frame-live-p speedbar-frame)
                                      (frame-visible-p speedbar-frame))]
                      "--")
(speedbar-frame-mode 1)

;;--lmd: Paul Kinnucan <[EMAIL PROTECTED]> 's JDE http://sunsite.auc.dk/jde/

(setq load-path 
         (nconc 
           '(
                "~/usr/local/share/emacs/site-lisp/JDE/lisp"
           ) 
            load-path))
(require 'jde)            

;;Your question inspired me to update my .emacs to support italic, bold, and
;;bold-italic as well as a regular font (see complete excerpt below). Note
;;that I have tested this setup only on GNU Emacs 20.5.1 for Windows/NT. I do
;;not guarantee that it works for other versions. On my system I have
;;customized font-lock to italicize comments in source code files. I did this
;;by executing
;;
;;M-x customize-group font-lock-highlighting-faces
;;
;;and then editing and saving the resulting customization buffer.
;;
;;- Paul
;;
;;(setq default-frame-alist
;;      '((top . 200) (left . 400)
;;      (width . 80) (height . 30)
;;      (cursor-color . "Red")
;;      (foreground-color . "black")
;;      (background-color . "ivory")
;;      (font . "-*-Courier New-normal-r-*-*-13-*-96-96-c-*-iso8859-5")))
;;
;;
;;;Set the default color, font and frame size for the initial frame.
;;(setq initial-frame-alist
;;      '((top . 25)
;;      (left . 850)
;;      (width . 96)
;;      (height . 96)
;;      (cursor-color . "Red")
;;      (foreground-color . "black")
;;      (background-color . "ivory")
;;      (font . "-*-Courier New-normal-r-*-*-13-*-96-96-c-*-iso8859-5")))
;;
;;(set-face-background 'modeline "navy")
;;(set-face-foreground 'modeline "gold")
;;
;;(set-face-font 'italic "-*-Courier New-normal-i-*-*-13-*-96-96-c-*-iso8859-5")
;;(set-face-font 'bold "-*-Courier New-bold-r-*-*-13-*-96-96-c-*-iso8859-5")
;;(set-face-font 'bold-italic "-*-Courier New-bold-i-*-*-13-*-96-96-c-*-iso8859-5")
;;
;;(setq initial-frame-alist '((top . 10) (left . 30)))
;;
;;(setq frame-title-format
;;          '(multiple-frames "%b"
;;                (""  invocation-name "@" system-name 
;;                 ": %f")))
        (setq w32-enable-italics t)

;;; Emacs/W3 Configuration
(setq load-path (cons
                 "~/usr/local/share/xemacs/site-lisp/w3"
                 load-path))
(condition-case () (require 'w3-auto "w3-auto") (error nil))

Reply via email to