[ESS] REDO: iESS SAS--auto clear .log and .lst files before submitting code

Main, Regan rmain at rand.org
Fri Dec 12 21:01:32 CET 2008


I apologize for re-posting.  I was just checking the archives and noticed my posting yesterday didn't submit quite right.  It posted as a link that I had trouble accessing.  I think it might have been caused by formatting in Outlook.  Below is what I was trying to submit.  Thanks for your patience.

Hi all--

I am a new Emacs user running interactive SAS.  I have made some customizations, but have a couple of issues that continue to stymie me.  

1.  If possible, I would like to find/modify lisp code to set up a single keyboard macro similar to C-c C-r that:  1. Goes to *SAS.log* and clears contents;  2. Goes to *SAS.lst* and clears contents;  3. Returns to .sas and submits a selected block of code.  
--If this request is too complicated, a lesser but still useful idea I had would be to set up one keyboard macro that opens and clears both the .log and .lst files and returns to the .sas buffer.  I could then submit code the regular way with C-c C-r.  

2. I have only been able to set up function keys to toggle between saved .lst and .log buffers but not unsaved buffers.  For example, I can toggle between foo.sas, foo.lst, and foo.log.  I can't open up foo.sas, run a block of code, and toggle between the unsaved *SAS.lst* and *SAS.log* buffers.  

If any of you have comments, suggestions, and/or lisp code that might address either of these issues, I would very much appreciate it.  

Thank you,
-Regan


**********************
Regan Main
Programmer/Analyst
The RAND Corporation
4570 Fifth Avenue, Suite 600
Pittsburgh, PA 15213-2665
412.683.2300 X4251
rmain at rand.org



__________________________________________________________________________

This email message is for the sole use of the intended r...{{dropped:6}}




More information about the ESS-help mailing list