essd-sas and w32

Jeff Mincy jeff at
Thu Nov 1 19:14:41 CET 2001

   From: "Liaw, Andy" <andy_liaw at>
   Date: Thu, 01 Nov 2001 12:03:57 -0500
   Thanks very much for the help.  I put the definition you provided in my init
   file, just prior to loading ess-site.el, and everything works fine.
   Anyone has any idea why this is not in XEmacs 21.4.5?  I have not had this
   problem when I used 21.4.3...

You probably had either explicit-shell-file-name, $SHELL, or $ESHELL
set.  (w32-using-nt) is checked after these three variables are checked.

(defun w32-shell-name ()
  (or (and (boundp 'explicit-shell-file-name) explicit-shell-file-name)
      (getenv "ESHELL")
      (getenv "SHELL")
      (and (w32-using-nt) "cmd.exe")


   is part of ntemacs in the file w32-fns.el
   (defun w32-using-nt ()
     "Return non-nil if literally running on Windows NT (i.e., not Windows 9X)."
     (and (eq system-type 'windows-nt) (getenv "SystemRoot")))
   Presumably xemacs has some other notation to distinguish nt from w9x.
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at

More information about the ESS-help mailing list