[ESS] ess-transcript-send-command-and-move

Rodney Sparapani rsparapa at mcw.edu
Tue Jun 16 19:58:24 CEST 2009


tyler wrote:
> 
> I think this is a special case where ess-transcript-send-command isn't
> appropriate. ess-transcript-send-command calls (ess-eval-linewise
> input), when what I think is needed in the context of ess-t-s-c-and-move
> is (ess-eval-linewise input nil nil nil 1).
> 
> So either: 
>   ess-t-s-c needs an argument so the calling function can
>   specify whether or not the wait-for-prompt argument is set in the call
>   to ess-eval-linewise,
>   
> or: 
>   as I have done above, the necessary code can be inserted directly
>   into ess-t-s-c-and-move, so that the original ess-t-s-c isn't used
> 
> Another possibility is that ess-t-s-c could be modified so that the
> default behaviour was to wait-for-prompt. I guess that would probably
> break something else, or it would already be the default.
> 
> Hope that's clearer.
> 
> Tyler
> 

Ok, patch checked in.  Will appear in ESS 5.5

Rodney



More information about the ESS-help mailing list