On Mon, Aug 02, 1999 at 12:24:13AM +0000, Paul Kinnucan wrote:
> Hard to say since we don't have a COMPLETE copy of your .emacs file
> and we don't know what versions of Emacs and cygwin you are using.
Gnu Emacs 20.4.1 (i386-*-nt4.0.1381) of Thu Jul 15 1999 on gridlock
Cygwin B20

[....._emacs......]
;; Update the Emacs load-path to include the path to
;; the JDE. This code assumes that you have installed
;; the JDE in the specified subdirectory of your home
;; directory.
(setq load-path
       (nconc
          '(
             "~/emacs/site"
             "~/emacs/site/jde-2.1.5"
             ;; Add more directories 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)

;; CUA window/motif selection style
(pc-selection-mode)
(load "cua-mode")
(CUA-mode t)

;; Using bash shell in emacs
(setq binary-process-input t) 
(setq w32-quote-process-args ?\") 
(setq shell-file-name "c:/bin/bash") ;; or sh if you rename your bash
(setenv "SHELL" shell-file-name) 
(setq explicit-shell-file-name shell-file-name) 
(setq explicit-sh-args '("-login" "-i"))

(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)))

;; Browse jdk doc or jde doc in netscape
(if (eq system-type 'windows-nt)
  (defadvice browse-url-generic (around show-window act)
    "*Sets `start-process-show-window' on."
    (let ((w32-start-process-show-window t))
      ad-do-it)))
[....end of _emacs.....]

TIA,
-Aris
-- 
When I left you, I was but the pupil.  Now, I am the master.
- Darth Vader

Reply via email to