<<File: emacs~1>>(Woops! Extra apologies for forgetting .emacs 1st time 'round.
'Tis now attached.)

Thanks for your note, Paul.

Here is my setup:
WinNT 4.0 SP 4
JDE 2.1.6beta8
  eieio 0.12
NTEmacs 20.4
cc-mode 5.25
(JDK 1.2.2; JPDA (!))

I apologize for not including this info in my initial post.

I believe the problem I am having corresponds to 1) below. I was under the
impression that I *should* download the JPDA and put its bin directory in my
path. That is not the case, I take it?... Should I just remove it?...

Thanks again,
Matthew Weymar

-----Original Message-----
From: Paul Kinnucan <[EMAIL PROTECTED]> 
Sent: Wednesday, September 15, 1999 2:07 PM
To: Matthew Weymar
Cc: [EMAIL PROTECTED]
Subject: RE: JDB trouble 

At 01:31 PM 9/15/99 -0400, Matthew Weymar wrote:
>Thanks for your prompt reply, Paul. I am using JDK 1.2.2.

I think the incompatibility starts with JDK 1.3 beta.

Two other possibilities: 

1) You downloaded JPDA and put its bin directory in your 
   path so that JDE is finding the JPDA version of jdb which
   is definitely not compatible.

2) You have not specified jde-db-source-directories

>Pls let me know if I can provide any additional info. And I'd appreciate any

You could get answer to your questions much more quickly by taking
the trouble to include a complete description of your setup instead
of forcing me to dig it out of you piecemeal.

See the JDE web site for guidelines on the minimum information you
should supply when asking for tech support.

- Paul

>further suggestions you might have that might help me get JDEbug back up and
>running.
>
>Tks a lot,
>Matthew
>
>-----Original Message-----
>From: Paul Kinnucan <[EMAIL PROTECTED]> 
>Sent: Wednesday, September 15, 1999 1:27 PM
>To: Matthew Weymar
>Subject: Re: JDB trouble 
>
>
>What version of the JDK are you using?
>
>I believe that the format of breakpoint messages from jdb changed in one of
>the latest 1.2.x releases, thereby breaking the JDE's breakpoint message
>parser. If this is true, this will require revising the jdb interface which
>I'm reluctant to do at the moment because I am working on a replacement for
>jdb, i.e., JDEbug.
>
>- Paul
>
>
>At 01:01 PM 9/15/99 -0400, you wrote:
>>I am sure that I am missing something basic here, but when I C-c C-v C-d to
>>debug an app, I get:
>>
>>[BEGIN]
>>
>>cd c:/directory/
>>jdb test FILE
>>
>>Initializing jdb...
>>> Deferring breakpoint test.main.
>>It will be set after the class is loaded.
>>> run test FILE
>>> 
>>VM Started: Set deferred breakpoint request calcStats:75
>>
>>[END]
>>
>>I am not left at a > prompt. I have no JDB menu.
>>
>>Do any of you have any ideas - or *know* - what I am doing wrong?
>>
>>Thanks,
>>Matthew Weymar
>
>



; Time-stamp: <1999-09-13 14:38:36 mdw>
; Thanks to all for your help & support.
; Special thanks to Charles Curley <[EMAIL PROTECTED]>
; whose http://w3.trib.com/~ccurley/emacs.html
; and   http://w3.trib.com/~ccurley/emacs.init.html
; have been very helpful.
; I recommend them highly, particularly to *new* NT Emacs users.

;; BEGIN To Do
; 1999-09-13 11:10:59
; Rearrange .emacs for use on 3 systems:
;  - home;
;  - new work;
;  - old work;
; NB - Currently set up for use on new work!
;; END To Do

;; Begin MISC.
;; Time Stamp
;; Add time stamp capabilities. See time-stamp.el for doc.
(add-hook 'write-file-hooks 'time-stamp)

;; Insert Date & Time
;; Anthony Tsakiris <[EMAIL PROTECTED]> on gnu.emacs.help
(defun insert-date-and-time ()
  "Insert the date and time into the current buffer."
  (interactive)
  (insert (format-time-string "%Y-%m-%d %H:%M:%S" (current-time))))

;; Strip Ctrl-M's
(add-hook 'comint-output-filter-functions 'shell-strip-ctrl-m nil t)

;; END MISC.

;; PRINTING
;; Begin setup for printing on Win32, Emacs 20.3.1
;; From Charles Curley <[EMAIL PROTECTED]>
;; http://w3.trib.com/~ccurley/emacs.html
(if (and  (>= emacs-major-version 20)
          (or (eq window-system 'w32) (eq window-system 'win32)))
    (progn (setq printer-name "//STL/Q_BACKOFFICE")
           (setq ps-printer-name "//STL/Q_BACKOFFICE"))
;   (setq ps-printer-name "LPT3")
)
;; END setup for printing on Win32, Emacs 20.3.1
;; END PRINTING

;; JDE Stuff
;; Paul Kinnucan (http://sunsite.auc.dk/jde/_emacs_jde)
; This .emacs file illustrates the minimal setup
; required to run the JDE.

; Update the Emacs load-path to include the path to
; the JDE....
(setq load-path
      (nconc
       '(
         "c:/apps/dev/emacs/site-lisp/jde/2.1.6beta8/lisp"
         "c:/apps/dev/emacs/site-lisp/eieio/eieio-0.12"
;;       "c:/apps/dev/emacs/site-lisp/w32-print/1.13"
         ; Add paths to other add-on packages here.
         )
       load-path))

; Tell Emacs to load the entire JDE package at startup (only once).
(require 'jde)

; Sets the basic indentation for Java source files
; to two spaces.
(defun my-jde-mode-hook ()
  (setq c-basic-offset 2))

(add-hook 'jde-mode-hook 'my-jde-mode-hook)

;; Bash Stuff
; Include the following only if you want to run
; bash as your shell.
;; Setup Emacs to run bash as its primary shell.
(setq binary-process-input t)
(setq shell-file-name "bash")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
(setq w32-quote-process-args ?\") ;; Use Cygnus quoting rules.

;; This doesn't seem to make a difference, but....
; http://sourceware.cygnus.com/cygwin/faq/
; Why can't I run bash as a shell under NT Emacs?
; Place the following code in your startup file and try again: 
; Begin
(load "comint")
(fset 'original-comint-exec-1 (symbol-function 'comint-exec-1))
(defun comint-exec-1 (name buffer command switches)
  (let ((binary-process-input t)
        (binary-process-output nil))
    (original-comint-exec-1 name buffer command switches)))
; END

;; END Bash Stuff

;;  Browser Stuff
; Configure Emacs to use the default browser on your system
; to display the JDE documentation.
(defvar shell-execute-helper "shelex.exe")
(defun shell-execute-url (url &optional new-window)
     "Invoke the shell-execute-helper program to call ShellExecute and launch
     or re-direct a web browser on the specified url."
        (interactive "sURL: ")
        (call-process shell-execute-helper nil nil nil url))
(setq browse-url-browser-function 'shell-execute-url)

;; http://www.cs.washington.edu/homes/voelker/ntemacs.html#browse-url
; To "make sure that [shelex.exe] is in your exec-path,"
; set Emacs' exec-path.
;; (c.f. http://www.cs.washington.edu/homes/voelker/ntemacs.html#ange-ftp)
(setq exec-path
      (cons
       (expand-file-name "c:/apps/dev/emacs/20.3.1/bin")
        exec-path))
;; END Browser Stuff

;; jde-cflow.el
;; Barney Dalton <[EMAIL PROTECTED]>
;; Twist my arm http://telerobot.mech.uwa.edu.au
;; contributed the following to the JDE listserv
;; This adds various coding conventions to the JDE.
;; In particular, it expands 'if,' 'for,' etc....
(load "jde-cflow")
;; END jde-cflow.el

;abbrev mode stuff
(defun turn-on-abbrev-mode ()
       (abbrev-mode 1)
)
(add-hook 'find-file-hooks 'turn-on-abbrev-mode)

; you need the second bit to turn on abbrev mode
; (the above code will turn it on for all files)
; to get dynamic expansion of the templates to work
; without pressing any extra keys - it can get annoying though,
; as there are abbrevs such as 'throw' -> 'throws'
; defined in the jde itself - you may want to redefine
; some of these. 
; you can do M-x list-abbrevs to see what's automatically
; defined in the jde

;; Generated by JDE Customization
(custom-set-variables
; General
 '(jde-jdk-doc-url "http://www.javasoft.com/products/jdk/1.2/docs/index.html")
; JDB
 '(jde-db-source-directories (quote ("c:/backtest/readSHELL/")))
 '(jde-db-option-application-args (quote ("TEST.OUT.CSV")))
; "JRE"
 '(jde-run-option-application-args (quote ("TEST.OUT.CSV"))))
(custom-set-faces)

;; END JDE Stuff

;; FONT STUFF
;; NB - M-x list-colors-display for full list of colors!
;; Hojat Salehi <[EMAIL PROTECTED]>
;; The following is based on Hojat Salehi's .emacs file.
(setq default-frame-alist
           '((width . 130) (height . 52)
             (font . "-*-Courier New-normal-r-*-*-12-*-*-*-c-*-*-ansi-")))

(cond ((fboundp 'global-font-lock-mode)
            ;; Turn on font-lock in all modes that support it
            (global-font-lock-mode t)
            ;; Maximum colors
            (setq font-lock-maximum-decoration t)))

(cond ((fboundp 'global-font-lock-mode)
            ;; Customize face attributes
            (setq font-lock-face-attributes
                  ;; Symbol-for-Face Foreground Background Bold Italic Underline
                  '((font-lock-comment-face       "DarkGreen")
                    (font-lock-string-face        "Sienna")
                    (font-lock-keyword-face       "RoyalBlue")
                    (font-lock-function-name-face "Blue")
                    (font-lock-variable-name-face "Indian Red")
                    (font-lock-type-face          "Black")
                    (font-lock-reference-face     "Purple")
                    ))

            ;; BEGIN MDW Additions (from NTEmacs homepage)
            ;; This does not work because face is still black (on black)!
            (set-background-color "Black")
            (set-foreground-color "Gold")
            (set-face-foreground 'modeline "Firebrick")
            (set-cursor-color "Purple")
            ;; END MDW Additions

            ;; Load the font-lock package.
            (require 'font-lock)
            ;; Maximum colors
            (setq font-lock-maximum-decoration t)
            ;; Turn on font-lock in all modes that support it
            (global-font-lock-mode t)))


(require 'paren)

(setq visible-bell t)
;; END Font Stuff

(put 'downcase-region 'disabled nil)

(put 'upcase-region 'disabled nil)

Reply via email to