ess-mode; suggestion for ess-eval-line-and-next-line
Martin Maechler
maechler at stat.math.ethz.ch
Fri Mar 31 18:58:59 CEST 2000
>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch> writes:
(just half an hour ago):
<....>
Rich> Change the current function so that it does send over
Rich> blank lines.
MM> not yet done.
MM> Reason : All(!) eval-..-.. functions use the basic building block
MM> (ess-eval-visibly ...) {the name of which is ridiculous since that
MM> function has an argument INVISIBLY which toggles if the evaluation
MM> is visible or invisible ....}
MM> and it is currently builtin inside this basic building block that
MM> blank lines are somehow not sent at all.
{after investigating for a while}
the above is *not* true:
C-u C-c C-r {= ess-eval-region <<VISIBLY>> }}
clearly shows empty lines in the output, i.e., they are properly sent and
everything. As a matter of fact, even
C-c C-r {= ess-eval-region <<invisibly>> }}
*does* send the empty lines <<invisibly>> and you only recognize this
by one additional "> " in the *R* buffer ..
MM> __Before__ you start -- I am currently looking at hacking
MM> ess-eval-visibly and make it provide "send-empty-lines as well" ...
So, it's a bit more complicated insofar as it is *NOT* (alone)
ess-eval-visibly's fault when
C-c C-n really does *not* send empty lines...
ESS-core : I do commit now what I have (mentioned in the last email).
If anyone else wants to add Rich's feature, please go ahead.
Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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