SAS-output buffers
Thomas Gerds
gerds at paracelsus.fdm.uni-freiburg.de
Mon Jul 31 16:08:01 CEST 2000
Hi,
I would like to clean the SAS-output buffers before
submitting SAS-code:
(defun erase-sas-log-and-lst-buffer ()
"Erase SAS-output buffers"
(interactive)
(save-excursion
(set-buffer (process-buffer (get-process "shell<1>")))
;; (set-buffer (get-buffer "*SAS.log*"))
(erase-buffer)
(set-buffer (process-buffer (get-process "shell")))
;; (set-buffer (get-buffer "*SAS.lst*"))
(erase-buffer)))
Does anybody know a good solution for setting SAS-output buffers:
(get-buffer "*SAS.lst*") (Fails after saving the lst-buffer with
a different name.)
(process-buffer (get-process "shell")) (Fails, if there are two or more
SAS-processes running)
thanx for any comment
tg
ps: How can I supress the message "cannot read history file .SAShistory"
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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