[ESS-bugs] ESS 5.3.7: Bug

Rodney Sparapani rsparapa at mcw.edu
Fri May 16 21:49:25 CEST 2008


Will wrote:
>
> As I have reported this bug already in the last ESS version 5.3.6, and 
> now in 5.3.7, I hope it will be included in version 5.3.8.
>
> Best, Will
>
> ;; corrected function
>
> (defun ess-sas-submit-region ()
>     "Write region to temporary file, and submit to SAS."
>     (interactive)
>     (ess-sas-file-path)
>     (write-region (region-beginning) (region-end)
>     (concat (ess-sas-temp-root) ".sas"))
>
>     (save-excursion
>       (ess-sas-goto-shell t)
>
>     (if (and (w32-shell-dos-semantics)
>     (string-equal ":" (substring ess-sas-file-path 1 2)))
>     (progn
>         (insert (substring ess-sas-file-path 0 2))
>         (comint-send-input)
>     ))
>
>     (insert "cd \"" (convert-standard-filename
>     (file-name-directory ess-sas-file-path)) "\"")
>     (comint-send-input)
>
>     (insert (concat ess-sas-submit-pre-command " "
>                     ess-sas-submit-command " "
>                     ess-sas-submit-command-options " " ;; corrected l. 1
>                    (ess-sas-temp-root) ".sas" " " ;; corrected l. 2
>             ess-sas-submit-post-command)
>         )
>     (comint-send-input)
>     )
> )
>
Is there something weird going on with the repository?  According to my 
checkout,
ess-sas-submit-command-options is not used by the function 
ess-sas-submit-region.
Can anyone else see this bug?

-- 
Rodney Sparapani             Medical College of Wisconsin
Sr. Biostatistician          Center for Patient Care & Outcomes Research
Was Name That Tune rigged?   Milwaukee, WI, USA



More information about the ESS-bugs mailing list