At 09:34 AM 8/2/99 -0400, you wrote:
>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
Aha! Just as I suspected. You're using the latest version of NT/Emacs. It's
been my experience that getting each new version of Emacs to work with each
new version of Cygwin is an adventure.
I have download but not yet installed 20.4.1 so I'm not able to say
whether the problem lies with your particular setup or is due to some new
incompatibility between Emacs 20.4.1 and Cygwin 20.
I plan to start testing the Emacs 20.4.1/JDE/Cygwin combo as soon as
possible and I'll let you know if I have the same problem.
In the meantime, perhaps someone else on the list is using this combination
and therefore can verify whether the combination works.
- Paul
>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