Scrolling the iESS window
brahm at alum.mit.edu
Thu Oct 31 23:18:29 CET 2002
Kevin Wright <kevin.wright at pioneer.com> wrote:
> I'm using Gnu Emacs 21. When I have the frame split into two buffers
> (source code, inferior R) and I use C-c C-r to "eval region", the point
> stays in the source code buffer (as it should) and the region is evaluated.
> How can I make the inferior R buffer scroll automatically so that the bottom
> of the buffer is always visible?
This is crude, but seems to work: Define a new key "C-c r" which runs
eval-region, ess-switch-to-end-of-ESS, and other-window. To wit, in .emacs:
(fset 'my-eval-region "\C-c\C-r\C-c\C-z\C-xo")
(global-set-key "\C-cr" 'my-eval-region)
I'm sure the gurus will come up with something much more elegant!
-- David Brahm (brahm at alum.mit.edu)
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