ess-mode; suggestion for ess-eval-line-and-next-line

Tim Hesterberg timh at statsci.com
Thu Mar 30 18:29:34 CEST 2000


>    Stephen> I've recently started using R, and find the Emacs interface
>    Stephen> very useful.  The ESS package is similar to octave's emacs
>    Stephen> interface, which I've got rather attached to.  One nice thing
>    Stephen> octave's mode does is to send a line to the process and then
>    Stephen> move the cursor to the next line of code,
>    Stephen>  SKIPPING OVER BLANK LINES AND COMMENT LINES.
>              -------------------------------------------
>...
>Shall I make this the default behavior of   ess-eval-line-and-next-line
>      aka C-c C-n
>and allow back-compatibility
>(ie. one could set an ess-... variable which would change the behavior back
> to the current behavior)
>
> --- or is it okay to even drop that back-compatibility, since the new
>     behavior would be desirable by everyone ?

There are circumstances where the current behavior is desired, 
where it is useful to leave blank lines in a file to be sent as blank, e.g.

for(i in 1:2) plot(x,y[,i], ask=T)


plot(x,z, ask=T)

where some number of blank lines make it easier to send the required
line feeds to get the next plot.

However, I doubt this is common enough to bother maintaining
backward compatibility.

Tim Hesterberg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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