Hi all,
    I've downloaded & installed the JDE-2.1.6b7 package.
    as well as the eieio stuff & the sun jdpa package.
    JDE-2.1.6b7 & eieio-0.12 are in ~/emacs/ directory.
    Attached are my .emacs & .xemacs-options files.
    I'm using xemacs-21.1.6 (& jdk1.1.8 if it matters).
    The jdpa package is in /opt/java/tools & "opt/java/tools/jdpa/bin"
    is in my PATH.

    What i'm trying to do is to debug using the nice UI JDEdebug.
    So, I clicked on JDE --> Debug App
    All that comes up is the usual debugging command line
    which btw works fine but is rather not convenient.
    In conclusion, I didn't succeed in using the new JDEdebug
    UI :-(
    What am I missing?

    Thanx in advanced.

mike



;; -*- Mode: Emacs-Lisp -*-

;;; This is a sample .emacs file.
;;;
;;; The .emacs file, which should reside in your home directory, allows you to
;;; customize the behavior of Emacs.  In general, changes to your .emacs file
;;; will not take effect until the next time you start up Emacs.  You can load
;;; it explicitly with `M-x load-file RET ~/.emacs RET'.
;;;
;;; There is a great deal of documentation on customization in the Emacs
;;; manual.  You can read this manual with the online Info browser: type
;;; `C-h i' or select "Emacs Info" from the "Help" menu.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;                           My stuff                      ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; 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/niemaz/.xemacs-options")))
;; ============================
;; End of Options Menu Settings


;------------------------------------------------------------
;  Ou emacs/xemacs doit-il chercher les fichiers de config ?
;------------------------------------------------------------
(setq load-path 
      (nconc '(
               "/home/niemaz/emacs/jde-2.1.6beta7/"
               "/home/niemaz/emacs/jde-2.1.6beta7/lisp/"
               "/home/niemaz/emacs/eieio-0.12/"
               "/home/niemaz/emacs/config"
               "/home/niemaz/emacs/cc-mode"
               ;;"/home/niemaz/emacs/jde-2.0.2"
               ;;"/home/niemaz/emacs/jde-1.9.8"
               ;;"/home/niemaz/emacs/"
               ;;"/home/niemaz/emacs/jdeback"
               ;;"/home/niemaz/emacs/emac_"
               )
             load-path))
;;--------------------------------------------------------------------
;; Decommenter la ligne suivante pour debugger le .emacs et les configs
;; Ca activera le debugger automatiquement en cas d'erreur.
;;--------------------------------------------------------------------
;(setq debug-on-error t)

;;--------------------------------------
;; Permet de mettre en place le mode SQL
;;--------------------------------------
;(setq load-path (cons "~/emacs/sql-mode" load-path))
;    (require 'sql-mode)
;    (sql-initialize)

;    (autoload 'sql-mode "sql-mode" "SQL Editing Mode" t)
;    (setq auto-mode-alist
;       (append '(("\\.sql$" . sql-mode)
;                 ("\\.tbl$" . sql-mode)
;                 ("\\.sp$"  . sql-mode))
;               auto-mode-alist))
(require 'jde)
(setq jde-web-browser "/opt/Tools/netscape4.61/netscape")
(setq jde-doc-dir "/opt/java/jdk1.1.8/docs/")
(setq jde-db-set-source-paths 
"/opt/java/jdk1.1.8/src:/opt/java/swing-1.1.1fcs/src:/home/niemaz/Gift/com/xerox/pw-1.1/javasrc:/home/niemaz/Gift/com/objectshare:/home/niemaz/")
(setq jde-db-set-debugger "/opt/java/jdk1.1.8/bin/jdb")
(setq jde-run-set-vm "/opt/java/jdk1.1.8/bin/java")
(setq jde-set-compiler "/opt/java/jdk1.1.8/bin/javac")

;;---------------------------------------------------------
;; Permet mettre en place l'option de sauvegarde des fontes
;;---------------------------------------------------------
(setq options-save-faces 't)

;;-----------------------------------
;; Ecrase les fichiers deja existants
;;-----------------------------------
(setq-default make-backup-files nil)

;;---------------------------------
;; Determine la taille de la fenere
;;---------------------------------
(set-frame-width (selected-frame) 100)
(set-frame-height (selected-frame) 57)

;;--------------------------------------
;; Permet l'affichage du numero de ligne
;;--------------------------------------
(setq line-number-mode t)

;;-------------------------
;; Permet l'affichage de l'heure
;;-------------------------
(display-time)

;;---------------------------------------
;; Permet l'affichage du nom de fichier complet
;;---------------------------------------
(setq frame-title-format "%S: %f")

;-------------------------------------------------------
; Chargement des configs qui ne marchent que sous XEmacs
;-------------------------------------------------------
;(if (string-match "XEmacs" emacs-version) (load "config-xemacs"))

;-------------------------------------------------------
; Chargement des configs qui ne marchent que sous Emacs
;-------------------------------------------------------
;(if (not(string-match "XEmacs" emacs-version)) (load "config-emacs"))

;;-----------------------------------------------------------------------
;; Chargement des configs qui marchent indifferement sous emacs ou xemacs
;;-----------------------------------------------------------------------
;(load "config-commune")

;; ============================
;; End of Options Menu Settings


;;--------------------
;; loading the abbrev file
;;--------------------
(read-abbrev-file "/home/niemaz/emacs/jde-2.0.2/prj_abbrevs")
(abbrev-mode t)

;;--------------------
;; loading sniff++ file
;;--------------------
;;(load "/export/local/Java/sniff/config/sniff-mode")

(setq minibuffer-max-depth nil)
(custom-set-variables
 '(paren-mode (quote sexp) nil (paren))
 '(jde-db-option-verbose (quote (nil nil nil)))
 '(jde-db-option-vm-args (quote ("-mx256m")))
 '(jde-make-program "/home/niemaz/Gift/com/xerox/gift/make")
 '(jde-run-application-class "com.xerox.gift.GAObjects.main")
 '(jde-run-option-verbose (quote (t nil nil)))
 '(overwrite-mode nil)
 '(jde-run-java-vm "/opt/java/jdk1.1.8/bin/java")
 '(browse-url-browser-function (quote browse-url-netscape))
 '(jde-run-option-vm-args (quote ("-mx256m")))
 '(bar-cursor 2)
 '(jde-jdk-doc-url "file:/opt/java/jdk1.1.8/docs/api/packages.html")
 '(case-fold-search t)
 '(jde-db-option-classpath (quote ("/home/niemaz/Gift/" 
"/opt/java/jdk1.1.8/lib/classes.zip" "/home/niemaz/Gift/com/Jars/swingall.jar" 
"/home/niemaz/Gift/com/xerox/pw-1.1/javasrc/" "/home/niemaz/Gift/cmp/Boyer/" 
"/home/niemaz/Gift/com" "/opt/Tools/netscape4.5/java/classes/java40.jar")))
 '(jde-db-option-application-args (quote ("rmi://fenestre:1238/GAServer" "false")))
 '(jde-run-option-application-args (quote ("rmi://fenestre:1238/GAServer" "false")))
 '(jde-run-java-vm-w "/opt/java/jdk1.1.8/bin/javaw")
 '(jde-db-debugger (quote ("/opt/java/jdk1.1.8/bin/jdb" . "Executable")))
 '(user-mail-address "[EMAIL PROTECTED]" t)
 '(query-user-mail-address nil)
 '(jde-run-option-classpath (quote ("/home/niemaz/Gift" "/home/niemaz/Gift/com" 
"/home/niemaz/Gift/com/xerox/pw-1.1/javasrc" "/home/niemaz/Gift/cmp/Boyer" 
"/home/niemaz/Gift/com/Jars/swingall.jar" "/opt/java/jdk1.1.8/lib/classes.zip"))))
(custom-set-faces
 '(default ((t (:background "grey85" :family "courier" :size "10"))) t)
 '(font-lock-string-face ((t (:italic t :foreground "magenta"))))
 '(font-lock-reference-face ((t (:foreground "red3"))))
 '(font-lock-doc-string-face ((t (:italic t :foreground "magenta"))))
 '(font-lock-preprocessor-face ((t (:foreground "violet"))))
 '(font-lock-variable-name-face ((t (:foreground "blue3"))))
 '(font-lock- ((t nil)) t)
 '(font-lock-keyword-face ((t (:foreground "orange2"))))
 '(font-lock-type-face ((t (:foreground "goldenrod4"))))
 '(font-lock-comment-face ((t (:foreground "brown4" :size "8"))))
 '(font-lock-function-name-face ((t (:foreground "blue" :background "grey75")))))

;;;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

;;; VRML support

;;(autoload 'vrml-mode "vrml" "VRML mode." t)
;;(setq auto-mode-alist (append '(("\\.wrl\\'" . vrml-mode))
;;auto-mode-alist))

;;;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;                        ENDOF My stuff                           ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;                      Basic Customization                         ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Enable the command `narrow-to-region' ("C-x n n"), a useful
;; command, but possibly confusing to a new user, so it's disabled by
;; default.
(put 'narrow-to-region 'disabled t)

;;; Define a variable to indicate whether we're running XEmacs/Lucid Emacs.
;;; (You do not have to defvar a global variable before using it --
;;; you can just call `setq' directly like we do for `emacs-major-version'
;;; below.  It's clearer this way, though.)

(defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))

;; Make the sequence "C-x w" execute the `what-line' command, 
;; which prints the current line number in the echo area.
(global-set-key "\C-xw" 'what-line)

;; set up the function keys to do common tasks to reduce Emacs pinky
;; and such.

;; Make F1 invoke help
(global-set-key [f1] 'help-command)
;; Make F2 be `undo'
(global-set-key [f2] 'undo)
;; Make F3 be `find-file'
;; Note: it does not currently work to say
;;   (global-set-key 'f3 "\C-x\C-f")
;; The reason is that macros can't do interactive things properly.
;; This is an extremely longstanding bug in Emacs.  Eventually,
;; it will be fixed. (Hopefully ..)
(global-set-key [f3] 'find-file)

;; Make F4 be "mark", F5 be "copy", F6 be "paste"
;; Note that you can set a key sequence either to a command or to another
;; key sequence.
(global-set-key [f4] 'set-mark-command)
(global-set-key [f5] "\M-w")
(global-set-key [f6] "\C-y")

;; Shift-F4 is "pop mark off of stack"
(global-set-key [(shift f4)] (lambda () (interactive) (set-mark-command t)))

;; Make F7 be `save-buffer'
(global-set-key [f7] 'save-buffer)

;; Make F8 be "start macro", F9 be "end macro", F10 be "execute macro"
(global-set-key [f8] 'start-kbd-macro)
(global-set-key [f9] 'end-kbd-macro)
(global-set-key [f10] 'call-last-kbd-macro)

;; Here's an alternative binding if you don't use keyboard macros:
;; Make F8 be `save-buffer' followed by `delete-window'.
;;(global-set-key 'f8 "\C-x\C-s\C-x0")

;; If you prefer delete to actually delete forward then you want to
;; uncomment the next line.
;; (load-library "delbackspace")


(cond (running-xemacs
       ;;
       ;; Code for any version of XEmacs/Lucid Emacs goes here
       ;;

       ;; Change the values of some variables.
       ;; (t means true; nil means false.)
       ;;
       ;; Use the "Describe Variable..." option on the "Help" menu
       ;; to find out what these variables mean.
       (setq find-file-use-truenames nil
             find-file-compare-truenames t
             minibuffer-confirm-incomplete t
             complex-buffers-menu-p t
             next-line-add-newlines nil
             mail-yank-prefix "> "
             kill-whole-line t
             )

       ;; When running ispell, consider all 1-3 character words as correct.
       (setq ispell-extra-args '("-W" "3"))

       (cond ((or (not (fboundp 'device-type))
                  (equal (device-type) 'x))
              ;; Code which applies only when running emacs under X goes here.
              ;; (We check whether the function `device-type' exists
              ;; before using it.  In versions before 19.12, there
              ;; was no such function.  If it doesn't exist, we
              ;; simply assume we're running under X -- versions before
              ;; 19.12 only supported X.)

              ;; Remove the binding of C-x C-c, which normally exits emacs.
              ;; It's easy to hit this by mistake, and that can be annoying.
              ;; Under X, you can always quit with the "Exit Emacs" option on
              ;; the File menu.
              (global-set-key "\C-x\C-c" nil)

              ;; Uncomment this to enable "sticky modifier keys" in 19.13
              ;; and up.  With sticky modifier keys enabled, you can
              ;; press and release a modifier key before pressing the
              ;; key to be modified, like how the ESC key works always.
              ;; If you hold the modifier key down, however, you still
              ;; get the standard behavior.  I personally think this
              ;; is the best thing since sliced bread (and a *major*
              ;; win when it comes to reducing Emacs pinky), but it's
              ;; disorienting at first so I'm not enabling it here by
              ;; default.

              ;;(setq modifier-keys-are-sticky t)

              ;; This changes the variable which controls the text that goes
              ;; in the top window title bar.  (However, it is not changed
              ;; unless it currently has the default value, to avoid
              ;; interfering with a -wn command line argument I may have
              ;; started emacs with.)
              (if (equal frame-title-format "%S: %b")
                  (setq frame-title-format
                        (concat "%S: " invocation-directory invocation-name
                                " [" emacs-version "]"
                                (if nil ; (getenv "NCD")
                                    ""
                                  "   %b"))))

              ;; If we're running on display 0, load some nifty sounds that
              ;; will replace the default beep.  But if we're running on a
              ;; display other than 0, which probably means my NCD X terminal,
              ;; which can't play digitized sounds, do two things: reduce the
              ;; beep volume a bit, and change the pitch of the sound that is
              ;; made for "no completions."
              ;;
              ;; (Note that sampled sounds only work if XEmacs was compiled
              ;; with sound support, and we're running on the console of a
              ;; Sparc, HP, or SGI machine, or on a machine which has a
              ;; NetAudio server; otherwise, you just get the standard beep.)
              ;;
              ;; (Note further that changing the pitch and duration of the
              ;; standard beep only works with some X servers; many servers
              ;; completely ignore those parameters.)
              ;;
              (cond ((string-match ":0" (getenv "DISPLAY"))
                     (load-default-sounds))
                    (t
                     (setq bell-volume 0)
                     ;;(setq sound-alist
                           ;;(append sound-alist '((no-completion :pitch 500))))
                     ))

              ;; Make `C-x C-m' and `C-x RET' be different (since I tend
              ;; to type the latter by accident sometimes.)
              (define-key global-map [(control x) return] nil)

              ;; Change the pointer used when the mouse is over a modeline
              (set-glyph-image modeline-pointer-glyph "leftbutton")

              ;; Change the continuation glyph face so it stands out more
              (and (fboundp 'set-glyph-property)
                   (boundp 'continuation-glyph)
                   (set-glyph-property continuation-glyph 'face 'bold))

              ;; Change the pointer used during garbage collection.
              ;;
              ;; Note that this pointer image is rather large as pointers go,
              ;; and so it won't work on some X servers (such as the MIT
              ;; R5 Sun server) because servers may have lamentably small
              ;; upper limits on pointer size.
              ;;(if (featurep 'xpm)
              ;;   (set-glyph-image gc-pointer-glyph
              ;;         (expand-file-name "trash.xpm" data-directory)))

              ;; Here's another way to do that: it first tries to load the
              ;; pointer once and traps the error, just to see if it's
              ;; possible to load that pointer on this system; if it is,
              ;; then it sets gc-pointer-glyph, because we know that
              ;; will work.  Otherwise, it doesn't change that variable
              ;; because we know it will just cause some error messages.
              (if (featurep 'xpm)
                  (let ((file (expand-file-name "recycle.xpm" data-directory)))
                    (if (condition-case error
                            ;; check to make sure we can use the pointer.
                            (make-image-instance file nil
                                                 '(pointer))
                          (error nil))      ; returns nil if an error occurred.
                        (set-glyph-image gc-pointer-glyph file))))

              (when (featurep 'menubar)
                ;; Add `dired' to the File menu
                (add-menu-button '("File") ["Edit Directory" dired t])

                ;; Here's a way to add scrollbar-like buttons to the menubar
                (add-menu-button nil ["Top" beginning-of-buffer t])
                ;;(add-menu-button nil ["<<<" scroll-down         t])
                ;;(add-menu-button nil [" . " recenter            t])
                ;;(add-menu-button nil [">>>" scroll-up           t])
                (add-menu-button nil ["Bot" end-of-buffer       t]))

              ;; Change the behavior of mouse button 2 (which is normally
              ;; bound to `mouse-yank'), so that it inserts the selected text
              ;; at point (where the text cursor is), instead of at the
              ;; position clicked.
              ;;
              ;; Note that you can find out what a particular key sequence or
              ;; mouse button does by using the "Describe Key..." option on
              ;; the Help menu.
              (setq mouse-yank-at-point nil)

              ))

       ))

;; Oh, and here's a cute hack you might want to put in the sample .emacs
;; file: it changes the color of the window if it's not on the local
;; machine, or if it's running as root:

;; local emacs background:  whitesmoke
;; remote emacs background: palegreen1
;; root emacs background:   coral2
(cond
 ((and (string-match "XEmacs" emacs-version)
       (eq window-system 'x)
       (boundp 'emacs-major-version)
       (= emacs-major-version 19)
       (>= emacs-minor-version 12))
  (let* ((root-p (eq 0 (user-uid)))
         (dpy (or (getenv "DISPLAY") ""))
         (remote-p (not
                    (or (string-match "^\\(\\|unix\\|localhost\\):" dpy)
                        (let ((s (system-name)))
                          (if (string-match "\\.\\(netscape\\|mcom\\)\\.com" s)
                              (setq s (substring s 0 (match-beginning 0))))
                          (string-match (concat "^" (regexp-quote s)) dpy)))))
         (bg (cond (root-p "coral2")
                   (remote-p "palegreen1")
                   (t nil))))
    (cond (bg
           (let ((def (color-name (face-background 'default)))
                 (faces (face-list)))
             (while faces
               (let ((obg (face-background (car faces))))
                 (if (and obg (equal def (color-name obg)))
                     (set-face-background (car faces) bg)))
               (setq faces (cdr faces)))))))))


;;; Older versions of emacs did not have these variables
;;; (emacs-major-version and emacs-minor-version.)
;;; Let's define them if they're not around, since they make
;;; it much easier to conditionalize on the emacs version.

(if (and (not (boundp 'emacs-major-version))
         (string-match "^[0-9]+" emacs-version))
    (setq emacs-major-version
          (string-to-int (substring emacs-version
                                    (match-beginning 0) (match-end 0)))))
(if (and (not (boundp 'emacs-minor-version))
         (string-match "^[0-9]+\\.\\([0-9]+\\)" emacs-version))
    (setq emacs-minor-version
          (string-to-int (substring emacs-version
                                    (match-beginning 1) (match-end 1)))))

;;; Define a function to make it easier to check which version we're
;;; running.

(defun running-emacs-version-or-newer (major minor)
  (or (> emacs-major-version major)
      (and (= emacs-major-version major)
           (>= emacs-minor-version minor))))

(cond ((and running-xemacs
            (running-emacs-version-or-newer 19 6))
       ;;
       ;; Code requiring XEmacs/Lucid Emacs version 19.6 or newer goes here
       ;;
       ))

(cond ((>= emacs-major-version 19)
       ;;
       ;; Code for any vintage-19 emacs goes here
       ;;
       ))

(cond ((and (not running-xemacs)
            (>= emacs-major-version 19))
       ;;
       ;; Code specific to FSF Emacs 19 (not XEmacs/Lucid Emacs) goes here
       ;;
       ))

(cond ((< emacs-major-version 19)
       ;;
       ;; Code specific to emacs 18 goes here
       ;;
       ))


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;              Customization of Specific Packages                  ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ********************
;;; Load the default-dir.el package which installs fancy handling
;;;  of the initial contents in the minibuffer when reading
;;; file names.

(if (and running-xemacs
         (or (and (= emacs-major-version 20) (>= emacs-minor-version 1))
             (and (= emacs-major-version 19) (>= emacs-minor-version 15))))
    (require 'default-dir))

;;; ********************
;;; Load the auto-save.el package, which lets you put all of your autosave
;;; files in one place, instead of scattering them around the file system.
;;;
(setq auto-save-directory (expand-file-name "~/autosave/")
      auto-save-directory-fallback auto-save-directory
      auto-save-hash-p nil
      efs-auto-save t
      efs-auto-save-remotely nil
      ;; now that we have auto-save-timeout, let's crank this up
      ;; for better interactive response.
      auto-save-interval 2000
      )
;; We load this afterwards because it checks to make sure the
;; auto-save-directory exists (creating it if not) when it's loaded.
(require 'auto-save)

;; This adds additional extensions which indicate files normally
;; handled by cc-mode.
(setq auto-mode-alist
      (append '(("\\.C$"  . c++-mode)
                ("\\.cc$" . c++-mode)
                ("\\.hh$" . c++-mode)
                ("\\.c$"  . c-mode)
                ("\\.h$"  . c-mode))
              auto-mode-alist))


;;; ********************
;;; cc-mode (the mode you're in when editing C, C++, and Objective C files)

;; Tell cc-mode not to check for old-style (K&R) function declarations.
;; This speeds up indenting a lot.
(setq c-recognize-knr-p nil)

;; Change the indentation amount to 4 spaces instead of 2.
;; You have to do it in this complicated way because of the
;; strange way the cc-mode initializes the value of `c-basic-offset'.
(add-hook 'c-mode-hook (lambda () (setq c-basic-offset 4)))


;;; ********************
;;; Load a partial-completion mechanism, which makes minibuffer completion
;;; search multiple words instead of just prefixes; for example, the command
;;; `M-x byte-compile-and-load-file RET' can be abbreviated as `M-x b-c-a RET'
;;; because there are no other commands whose first three words begin with
;;; the letters `b', `c', and `a' respectively.
;;;
(load-library "completer")


;;; ********************
;;; Load crypt, which is a package for automatically decoding and reencoding
;;; files by various methods - for example, you can visit a .Z or .gz file,
;;; edit it, and have it automatically re-compressed when you save it again.
;;; 
(setq crypt-encryption-type 'pgp   ; default encryption mechanism
      crypt-confirm-password t     ; make sure new passwords are correct
      ;crypt-never-ever-decrypt t  ; if you don't encrypt anything, set this to
                                   ; tell it not to assume that "binary" files
                                   ; are encrypted and require a password.
      )
(require 'crypt)


;;; ********************
;;; Edebug is a source-level debugger for emacs-lisp programs.
;;;
(define-key emacs-lisp-mode-map "\C-xx" 'edebug-defun)


;;; ********************
;;; func-menu is a package that scans your source file for function
;;; definitions and makes a menubar entry that lets you jump to any
;;; particular function definition by selecting it from the menu.  The
;;; following code turns this on for all of the recognized languages.
;;; Scanning the buffer takes some time, but not much.
;;;
;;; Send bug reports, enhancements etc to:
;;; David Hughes <[EMAIL PROTECTED]>
;;;
(cond (running-xemacs
       (require 'func-menu)
       (define-key global-map 'f8 'function-menu)
       (add-hook 'find-file-hooks 'fume-add-menubar-entry)
       (define-key global-map "\C-cl" 'fume-list-functions)
       (define-key global-map "\C-cg" 'fume-prompt-function-goto)

       ;; The Hyperbole information manager package uses (shift button2) and
       ;; (shift button3) to provide context-sensitive mouse keys.  If you
       ;; use this next binding, it will conflict with Hyperbole's setup.
       ;; Choose another mouse key if you use Hyperbole.
       (define-key global-map '(shift button3) 'mouse-function-menu)

       ;; For descriptions of the following user-customizable variables,
       ;; type C-h v <variable>
       (setq fume-max-items 25
             fume-fn-window-position 3
             fume-auto-position-popup t
             fume-display-in-modeline-p t
             fume-menubar-menu-location "File"
             fume-buffer-name "*Function List*"
             fume-no-prompt-on-valid-default nil)
       ))

;;; ********************
;; -*- Mode: Emacs-Lisp -*-

(setq options-file-xemacs-version '(20 4))
  (setq-default case-fold-search t)
  (setq-default overwrite-mode nil)
    (setq-default case-fold-search t)
  (setq-default case-replace t)
  (pending-delete-mode 1)
  (setq-default zmacs-regions t)
  (setq-default mouse-yank-at-point nil)
  (setq-default require-final-newline t)
  (setq-default next-line-add-newlines nil)
  (setq-default teach-extended-commands-p t)
  (setq-default teach-extended-commands-timeout 2)
  (setq-default debug-on-error nil)
  (setq-default debug-on-quit nil)
  (setq-default lpr-switches '-P)
  (setq-default ps-print-color-p nil)
  (setq-default ps-paper-type 'a4)
  (setq-default get-frame-for-buffer-default-instance-limit nil)
  (setq-default temp-buffer-show-function 'show-temp-buffer-in-current-frame)
    (setq-default font-lock-auto-fontify t)
  (setq-default font-lock-use-fonts nil)
  (setq-default font-lock-use-colors '(color))
  (setq-default font-lock-maximum-decoration t)
  (setq-default font-lock-maximum-size 256000)
  (setq-default font-lock-mode-enable-list nil)
  (setq-default font-lock-mode-disable-list nil)
  (require 'font-lock)
  (remove-hook 'font-lock-mode-hook 'turn-on-fast-lock)
  (remove-hook 'font-lock-mode-hook 'turn-on-lazy-shot)
  (require 'paren)
  (paren-set-mode 'sexp)
  (if (featurep 'scrollbar) (progn (add-spec-list-to-specifier scrollbar-width 
'((global (nil . 24)))) (add-spec-list-to-specifier scrollbar-height '((global (nil . 
24))))))
  (add-spec-list-to-specifier modeline-shadow-thickness '((global (nil . 2))))
  (setq-default truncate-lines nil)
  (setq-default bar-cursor 2)
    (setq-default buffers-menu-max-size nil)
  (setq-default complex-buffers-menu-p t)
  (setq-default buffers-menu-sort-function nil)
  (setq-default buffers-menu-grouping-function nil)
  (setq-default buffers-menu-submenus-for-groups-p nil)
  (setq-default font-menu-ignore-scaled-fonts t)
  (setq-default font-menu-this-frame-only-p nil)
  (if (featurep 'toolbar) (progn (set-default-toolbar-position 'left) 
(add-spec-list-to-specifier default-toolbar-visible-p 'nil) 
(add-spec-list-to-specifier toolbar-buttons-captioned-p '((global (nil . t))))))
  (setq-default mouse-avoidance-mode nil)
  (setq-default browse-url-browser-function 'browse-url-w3)
  (make-face 'bold)
  (make-face 'right-margin)
  (make-face 'display-time-mail-balloon-enhance-face)
  (make-face 'red)
  (make-face 'widget-field-face)
  (make-face 'isearch)
  (make-face 'custom-documentation-face)
  (make-face 'custom-button-face)
  (make-face 'speedbar-tag-face)
  (make-face 'custom-state-face)
  (make-face 'modeline-mousable)
  (make-face 'list-mode-item-selected)
  (make-face 'green)
  (make-face 'custom-rogue-face)
  (make-face 'left-margin)
  (make-face 'modeline-mousable-minor-mode)
  (make-face 'custom-invalid-face)
  (make-face 'pointer)
  (make-face 'gui-button-face)
  (make-face 'paren-mismatch)
  (make-face 'modeline-buffer-id)
  (make-face 'yellow)
  (make-face 'custom-variable-tag-face)
  (make-face 'zmacs-region)
  (make-face 'speedbar-highlight-face)
  (make-face 'custom-changed-face)
  (make-face 'speedbar-button-face)
  (make-face 'paren-blink-off)
  (make-face 'speedbar-file-face)
  (make-face 'widget-inactive-face)
  (make-face 'widget-button-face)
  (make-face 'bold-italic)
  (make-face 'custom-saved-face)
  (make-face 'display-time-mail-balloon-gnus-group-face)
  (make-face 'paren-match)
  (make-face 'custom-variable-button-face)
  (make-face 'blue)
  (make-face 'custom-group-tag-face-1)
  (make-face 'custom-face-tag-face)
  (make-face 'modeline)
  (make-face 'speedbar-directory-face)
  (make-face 'speedbar-selected-face)
  (make-face 'secondary-selection)
  (make-face 'widget-documentation-face)
  (make-face 'italic)
  (make-face 'text-cursor)
  (make-face 'display-time-time-balloon-face)
  (make-face 'custom-modified-face)
  (make-face 'custom-group-tag-face)
  (make-face 'underline)
  (make-face 'custom-set-face)
  (make-face 'highlight)
  (make-face 'primary-selection)
  (make-face 'widget-button-pressed-face)
  (add-spec-list-to-specifier (face-property 'bold 'font) '((global (nil . 
"-dt-interface user-bold-r-normal-m*-*-*-*-*-*-*-*-*"))))
  (add-spec-list-to-specifier (face-property 'bold 'highlight) '((global ((tty) . t))))
  (add-spec-list-to-specifier (face-property 'display-time-mail-balloon-enhance-face 
'background) '((global (nil . "orange"))))
  (add-spec-list-to-specifier (face-property 'red 'foreground) '((global ((color) . 
"red"))))
  (add-spec-list-to-specifier (face-property 'widget-field-face 'background) '((global 
(nil . "gray85"))))
  (add-spec-list-to-specifier (face-property 'isearch 'background) '((global ((color) 
. "paleturquoise") ((color) . "green"))))
  (add-spec-list-to-specifier (face-property 'isearch 'reverse) '((global ((tty) . 
t))))
  (add-spec-list-to-specifier (face-property 'custom-button-face 'font) '((global (nil 
. "-*-courier-bold-r-*-*-*-120-*-*-*-*-iso8859-*"))))
  (add-spec-list-to-specifier (face-property 'custom-button-face 'highlight) '((global 
((tty) . t))))
  (add-spec-list-to-specifier (face-property 'speedbar-tag-face 'foreground) '((global 
(nil . "brown"))))
  (add-spec-list-to-specifier (face-property 'custom-state-face 'foreground) '((global 
(nil . "dark green"))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'foreground) '((global 
((color x) . "firebrick") (nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'background) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'font) '((global 
((grayscale x) . [bold]) ((mono x) . [bold]) (nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'background-pixmap) 
'((global ((x) . [inherit :face #s(face name modeline)]) ((tty) . [inherit :face 
#s(face name modeline)]) ((stream) . [inherit :face #s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'underline) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'strikethru) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'highlight) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'dim) '((global (nil . 
[#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'blinking) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable 'reverse) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'list-mode-item-selected 'foreground) 
'((global ((mono x) . [default background]))))
  (add-spec-list-to-specifier (face-property 'list-mode-item-selected 'background) 
'((global ((mono x) . [default foreground]) ((grayscale) . "gray68") ((color) . 
"gray68"))))
  (add-spec-list-to-specifier (face-property 'list-mode-item-selected 'reverse) 
'((global ((tty) . t))))
  (add-spec-list-to-specifier (face-property 'green 'foreground) '((global ((color) . 
"green"))))
  (add-spec-list-to-specifier (face-property 'custom-rogue-face 'foreground) '((global 
(nil . "pink"))))
  (add-spec-list-to-specifier (face-property 'custom-rogue-face 'background) '((global 
(nil . "black"))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 
'foreground) '((global ((color x) . "green4") ((color x) . "forestgreen") (nil . 
[#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 
'background) '((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 'font) 
'((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 
'background-pixmap) '((global ((x) . [inherit :face #s(face name modeline-mousable)]) 
((tty) . [inherit :face #s(face name modeline-mousable)]) ((stream) . [inherit :face 
#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 'underline) 
'((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 
'strikethru) '((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 'highlight) 
'((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 'dim) 
'((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 'blinking) 
'((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'modeline-mousable-minor-mode 'reverse) 
'((global (nil . [#s(face name modeline-mousable)]))))
  (add-spec-list-to-specifier (face-property 'custom-invalid-face 'foreground) 
'((global (nil . "yellow"))))
  (add-spec-list-to-specifier (face-property 'custom-invalid-face 'background) 
'((global (nil . "red"))))
  (add-spec-list-to-specifier (face-property 'gui-button-face 'foreground) '((global 
((color x) . "black"))))
  (add-spec-list-to-specifier (face-property 'gui-button-face 'background) '((global 
((color x) . "grey75"))))
  (add-spec-list-to-specifier (face-property 'gui-button-face 'reverse) '((global (nil 
. t))))
  (add-spec-list-to-specifier (face-property 'paren-mismatch 'foreground) '((global 
((grayscale x) . [modeline foreground]) ((mono x) . [modeline foreground]))))
  (add-spec-list-to-specifier (face-property 'paren-mismatch 'background) '((global 
((grayscale x) . [modeline background]) ((mono x) . [modeline background]) ((color x) 
. "DeepPink"))))
  (add-spec-list-to-specifier (face-property 'paren-mismatch 'reverse) '((global 
((tty) . t))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'foreground) 
'((global ((color x) . "blue4") (nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'background) 
'((global (nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'font) '((global 
((tty) . [bold-italic]) ((grayscale x) . [bold-italic]) ((mono x) . [bold-italic]) 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'background-pixmap) 
'((global ((x) . [inherit :face #s(face name modeline)]) ((tty) . [inherit :face 
#s(face name modeline)]) ((stream) . [inherit :face #s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'underline) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'strikethru) 
'((global (nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'highlight) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'dim) '((global (nil 
. [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'blinking) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'modeline-buffer-id 'reverse) '((global 
(nil . [#s(face name modeline)]))))
  (add-spec-list-to-specifier (face-property 'yellow 'foreground) '((global ((color) . 
"yellow"))))
  (add-spec-list-to-specifier (face-property 'custom-variable-tag-face 'foreground) 
'((global (nil . "blue"))))
  (add-spec-list-to-specifier (face-property 'custom-variable-tag-face 'underline) 
'((global (nil . t))))
  (add-spec-list-to-specifier (face-property 'zmacs-region 'background) '((global 
((grayscale) . "gray65") ((color) . "gray65"))))
  (add-spec-list-to-specifier (face-property 'zmacs-region 'reverse) '((global ((tty) 
. t))))
  (add-spec-list-to-specifier (face-property 'speedbar-highlight-face 'background) 
'((global (nil . "green"))))
  (add-spec-list-to-specifier (face-property 'custom-changed-face 'foreground) 
'((global (nil . "white"))))
  (add-spec-list-to-specifier (face-property 'custom-changed-face 'background) 
'((global (nil . "blue"))))
  (add-spec-list-to-specifier (face-property 'speedbar-button-face 'foreground) 
'((global (nil . "green4"))))
  (add-spec-list-to-specifier (face-property 'paren-blink-off 'foreground) '((global 
((x) . "gray80"))))
  (add-spec-list-to-specifier (face-property 'speedbar-file-face 'foreground) 
'((global (nil . "cyan4"))))
  (add-spec-list-to-specifier (face-property 'widget-inactive-face 'foreground) 
'((global (nil . "dim gray"))))
  (add-spec-list-to-specifier (face-property 'widget-button-face 'font) '((global (nil 
. "-*-courier-bold-r-*-*-*-120-*-*-*-*-iso8859-*"))))
  (add-spec-list-to-specifier (face-property 'widget-button-face 'highlight) '((global 
((tty) . t))))
  (add-spec-list-to-specifier (face-property 'bold-italic 'font) '((global (nil . 
"-dt-interface user-bold-r-normal-m*-*-*-*-*-*-*-*-*"))))
  (add-spec-list-to-specifier (face-property 'bold-italic 'underline) '((global ((tty) 
. t))))
  (add-spec-list-to-specifier (face-property 'bold-italic 'highlight) '((global ((tty) 
. t))))
  (add-spec-list-to-specifier (face-property 'custom-saved-face 'underline) '((global 
(nil . t))))
  (add-spec-list-to-specifier (face-property 
'display-time-mail-balloon-gnus-group-face 'foreground) '((global (nil . "blue"))))
  (add-spec-list-to-specifier (face-property 'paren-match 'background) '((global 
((color) . "darkseagreen2") ((color) . "green") ((grayscale) . "gray53"))))
  (add-spec-list-to-specifier (face-property 'paren-match 'highlight) '((global ((tty) 
. t))))
  (add-spec-list-to-specifier (face-property 'custom-variable-button-face 'font) 
'((global (nil . "-*-courier-bold-r-*-*-*-120-*-*-*-*-iso8859-*"))))
  (add-spec-list-to-specifier (face-property 'custom-variable-button-face 'underline) 
'((global (nil . t))))
  (add-spec-list-to-specifier (face-property 'custom-variable-button-face 'highlight) 
'((global ((tty) . t))))
  (add-spec-list-to-specifier (face-property 'blue 'foreground) '((global ((color) . 
"blue"))))
  (add-spec-list-to-specifier (face-property 'custom-group-tag-face-1 'foreground) 
'((global (nil . "red"))))
  (add-spec-list-to-specifier (face-property 'custom-group-tag-face-1 'underline) 
'((global (nil . t))))
  (add-spec-list-to-specifier (face-property 'custom-face-tag-face 'underline) 
'((global (nil . t))))
  (add-spec-list-to-specifier (face-property 'modeline 'foreground) '((global ((x) . 
"Black"))))
  (add-spec-list-to-specifier (face-property 'modeline 'background) '((global ((x) . 
"Gray75"))))
  (add-spec-list-to-specifier (face-property 'modeline 'reverse) '((global ((tty) . 
t))))
  (add-spec-list-to-specifier (face-property 'speedbar-directory-face 'foreground) 
'((global (nil . "blue4"))))
  (add-spec-list-to-specifier (face-property 'speedbar-selected-face 'foreground) 
'((global (nil . "red"))))
  (add-spec-list-to-specifier (face-property 'speedbar-selected-face 'underline) 
'((global (nil . t))))
  (add-spec-list-to-specifier (face-property 'secondary-selection 'background) 
'((global ((grayscale) . "gray53") ((color) . "paleturquoise") ((color) . "green"))))
  (add-spec-list-to-specifier (face-property 'secondary-selection 'underline) 
'((global ((tty) . t))))
  (add-spec-list-to-specifier (face-property 'widget-documentation-face 'foreground) 
'((global (nil . "dark green"))))
  (add-spec-list-to-specifier (face-property 'italic 'font) '((global (nil . 
"-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*"))))
  (add-spec-list-to-specifier (face-property 'italic 'underline) '((global ((tty) . 
t))))
  (add-spec-list-to-specifier (face-property 'italic 'highlight) 'nil)
  (add-spec-list-to-specifier (face-property 'text-cursor 'foreground) '((global (nil 
. [default background]))))
  (add-spec-list-to-specifier (face-property 'text-cursor 'background) '((global ((x) 
. "Red3"))))
  (add-spec-list-to-specifier (face-property 'text-cursor 'reverse) '((global ((tty) . 
t))))
  (add-spec-list-to-specifier (face-property 'display-time-time-balloon-face 
'foreground) '((global (nil . "red"))))
  (add-spec-list-to-specifier (face-property 'custom-modified-face 'foreground) 
'((global (nil . "white"))))
  (add-spec-list-to-specifier (face-property 'custom-modified-face 'background) 
'((global (nil . "blue"))))
  (add-spec-list-to-specifier (face-property 'custom-group-tag-face 'foreground) 
'((global (nil . "blue"))))
  (add-spec-list-to-specifier (face-property 'custom-group-tag-face 'underline) 
'((global (nil . t))))
  (add-spec-list-to-specifier (face-property 'underline 'underline) '((global (nil . 
t))))
  (add-spec-list-to-specifier (face-property 'custom-set-face 'foreground) '((global 
(nil . "blue"))))
  (add-spec-list-to-specifier (face-property 'custom-set-face 'background) '((global 
(nil . "white"))))
  (add-spec-list-to-specifier (face-property 'highlight 'background) '((global 
((color) . "darkseagreen2") ((color) . "green") ((grayscale) . "gray53"))))
  (add-spec-list-to-specifier (face-property 'highlight 'highlight) '((global ((tty) . 
t))))
  (add-spec-list-to-specifier (face-property 'primary-selection 'background) '((global 
((grayscale) . "gray65") ((color) . "gray65"))))
  (add-spec-list-to-specifier (face-property 'primary-selection 'background-pixmap) 
'((global ((mono x) . [xbm :file "/usr/include/X11/bitmaps/gray3" :data (4 4 "")]) 
((mono tty) . [string :data "gray3"]))))
  (add-spec-list-to-specifier (face-property 'primary-selection 'reverse) '((global 
((tty) . t))))
  (add-spec-list-to-specifier (face-property 'widget-button-pressed-face 'foreground) 
'((global (nil . "red"))))
  (if (featurep 'mule) (set-language-environment '"English"))

Reply via email to