w32-shell-dos-semantics

Rodney Sparapani rsparapa at post.its.mcw.edu
Thu Feb 15 17:06:59 CET 2001


ess-help:

Without getting into a debate, I wouldn't recommend downloading all of these functions and attempting to run them under xemacs.  Many FSF lisp files will work with xemacs, but 
some won't and it can be a hair-losing scenario.  Since the original poster is interested in R, Tony's solution is probably best.  As it currently stands, I have never been 
able to get ESS for SAS to work effectively in xemacs under either Unix or Windows.  There's a quick fix for this particular function and two for a common side-effect under 
Windows (but, they don't get everything to work, unfortunately):

(if (featurep 'xemacs)
  (defun w32-shell-dos-semantics ()
  "Return t if the interactive shell being used expects msdos shell semantics."
        (or (string-equal "COMMAND.COM" (file-name-nondirectory shell-file-name))
            (string-equal "CMD.EXE" (file-name-nondirectory shell-file-name)))))


(defvar explicit-command-args nil
   "Switches for COMMAND.COM.")


(defvar explicit-cmd-args nil
   "Switches for CMD.EXE.")

Rodney

>Date: Thu, 15 Feb 2001 10:59:25 -0500 (EST)
>From: Rich Heiberger <rmh at surfer.sbm.temple.edu>
>To: "Gang Liang" <gumpleon at hotmail.com>, <ESS-bugs at stat.math.ethz.ch>
>Subject: w32-shell-dos-semantics
>Cc: <ESS-bugs at stat.math.ethz.ch>
>
>this looks like an emacs/xemacs issue.  ntemacs (and therefore probably
>all of GNU emacs) defines w32-shell-dos-semantics and related functions
>in w32-fns.el.  ess-sas-submit-method in essa-sas.el calls this function only
>on windows machines.  Apparently xemacs knows when it is running on windows
>machines but doesn't have a full set of functions available to respond
>to that knowledge.
>
>You can get a copy from
>/anonymous at ftp.gnu.org:/gnu/windows/emacs/20.7/emacs-20.7-lisp.tar.gz
>This is a 5MB file with all the lisp files inside it.
>
>Rich

Rodney Sparapani, Sr Biostatistician, Medical College of Wisconsin
email: rsparapa at mcw.edu               Patient Care & Outcomes, Rm H2775
phone: (414) 456-8786                 8701 Watertown Plank Rd
FAX  : (414) 456-6689                 Milwaukee, WI  53226

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the ESS-help mailing list