[ESS] iESS: point jumps to EOB on process output

Vitalie Spinu spinuvit at gmail.com
Wed Sep 5 10:20:04 CEST 2012


  >> Sam Steingold <sds at gnu.org>
  >> on Tue, 4 Sep 2012 17:30:21 -0400 wrote:

  > When I have an R function executing, whenever it prints something, the
  > point jumps to the end of the ESS buffer.
  > This makes is very difficult to get the previously printed data (since
  > the point jumps to the end of buffer all the time).
  > It would be nice if the point jumped to the EOB only when the function
  > finished (i.e., when the prompt is printed) or not at all.

First check the values of 

  comint-scroll-to-bottom-on-output
  comint-scroll-show-maximum-output

if they are t this is comint thing. 

Second, ESS has two evaluation mechanisms visible and not, depending on
the value of ess-eval-visibly-p (defaults to t). If evaluation is
visible, that means you want to see the input text also in your output
buffer. I see, that in this case, ESS ignores
comint-scroll-to-bottom-on-output.

We can in principle make ess-eval-linewise respect
comint-scroll-to-bottom-on-output. What do others think?


Third, what do you mean that it makes "very difficult to get previously
printed data"? Whenever you need previous output, you should use
comint-previous-prompt to navigate to previous output. I bind it to very
handy C-M-p. This is much better than to scroll manually to EOB each
time you need it (almost always).

    Vitalie



More information about the ESS-help mailing list