Hi, again,
I am able to compile an applet, but when I try to run the applet from the
JDE menu, I get the error "ShellExecute failed". There is a suitable .html
file in an otherwise nearly empty directory, along with a .class file which
was produced moments earlier. The cygwin tools, including bash.exe, appear
in my PATH. I am able to type M-x shell and get a nice-looking bash
interface without any of the stray carriage returns which have sometimes
plagued myself and others in the past.
I'm running Windows NT 4.0 SP4, and am running as a non-administrator user.
As I understand from reading the archives and docs, shellex shouldn't be an
issue in such an "advanced" version of GNU Emacs. What am I missing?
I'm using JDE 2.1.5 with a minor abbrev hack discussed here earlier (the
same ShellExecute problem occurred before I started messing with JDE
source). I have trimmed down my .emacs file to the following for purposes
of this exercise:
(setq my-base (expand-file-name "h:/users/Epstein/Emacs"))
(setq my-base-lib (concat my-base "/emacslib"))
(setq load-path (append (list
(concat my-base-lib "/jde-2.1.5" )
(concat my-base-lib "/emacslib" )
(concat my-base-lib "/" ) )
load-path))
(require 'jde)
(setq binary-process-input t)
(setq w32-quote-process-args ?\")
(setq shell-file-name "bash") ;; or sh if you rename your bash executable
to sh.
(setenv "SHELL" shell-file-name)
(setq explicit-shell-file-name shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
Thanks for any help,
-Jonathan
Jonathan Epstein [EMAIL PROTECTED]
Unit on Biologic Computation (301)402-4563
Office of the Scientific Director Bldg 31, Room 2A31
Nat. Inst. of Child Health & Human Development 31 Center Drive
National Institutes of Health Bethesda, MD 20892