ess-eval-chunk-and-go does not work as expected

View: New views
4 Messages — Rating Filter:   Alert me  

ess-eval-chunk-and-go does not work as expected

by svga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear list,

I use Emacs 23.1.1, ESS 5.4 and R 2.9.2 under Linux Ubuntu and Windows XP. I noticed that the command "ess-eval-region-and-go" and "ess-eval-chunk-and-go" does not work as under Emacs 22: When executing one of these two functions the cursor in the *R* process buffer does not always appear at the bottom, instead often the cursor appears in the middle of the buffer.  I haven't figure out a systematic here, but maybe some other users have observed a similar behavior.

Regards, Sven

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: ess-eval-chunk-and-go does not work as expected

by Vinh Nguyen-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

put the following in .emacs:

;; ESS fix: since emacs 23, C-c M-r sends code but sometime does not
go to the end of the R session buffer (stays midway).  this fixes it.
(setq comint-scroll-to-bottom-on-input t)
(setq comint-scroll-to-bottom-on-output t)
(setq comint-move-point-for-output t)


On Tue, Oct 6, 2009 at 4:54 AM,  <svga@...> wrote:

> Dear list,
>
> I use Emacs 23.1.1, ESS 5.4 and R 2.9.2 under Linux Ubuntu and Windows XP. I noticed that the command "ess-eval-region-and-go" and "ess-eval-chunk-and-go" does not work as under Emacs 22: When executing one of these two functions the cursor in the *R* process buffer does not always appear at the bottom, instead often the cursor appears in the middle of the buffer.  I haven't figure out a systematic here, but maybe some other users have observed a similar behavior.
>
> Regards, Sven
>
> ______________________________________________
> ESS-help@... mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: ess-eval-chunk-and-go does not work as expected

by Bugzilla from spluque@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 6 Oct 2009 13:54:17 +0200 (CEST),
svga@... wrote:

> Dear list, I use Emacs 23.1.1, ESS 5.4 and R 2.9.2 under Linux Ubuntu
> and Windows XP. I noticed that the command "ess-eval-region-and-go"
> and "ess-eval-chunk-and-go" does not work as under Emacs 22: When
> executing one of these two functions the cursor in the *R* process
> buffer does not always appear at the bottom, instead often the cursor
> appears in the middle of the buffer.  I haven't figure out a
> systematic here, but maybe some other users have observed a similar
> behavior.

I haven't experienced similar inconsistencies in those commands with ESS
5.4, R 2.9.2, and Emacs 23.1.50.1 in Debian sid, but one thing to check
is what happens with the variable comint-scroll-to-bottom-on-output in
those two circumstances.


--
Seb

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

Re: ess-eval-chunk-and-go does not work as expected

by svga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

great, thanks!


----- Original Nachricht ----
Von:     Vinh Nguyen <vqnguyen@...>
An:      svga@...
Datum:   06.10.2009 17:04
Betreff: Re: [ESS] ess-eval-chunk-and-go does not work as expected

> put the following in .emacs:
>
> ;; ESS fix: since emacs 23, C-c M-r sends code but sometime does not
> go to the end of the R session buffer (stays midway).  this fixes it.
> (setq comint-scroll-to-bottom-on-input t)
> (setq comint-scroll-to-bottom-on-output t)
> (setq comint-move-point-for-output t)
>
>
> On Tue, Oct 6, 2009 at 4:54 AM,  <svga@...> wrote:
> > Dear list,
> >
> > I use Emacs 23.1.1, ESS 5.4 and R 2.9.2 under Linux Ubuntu and Windows XP.
> I noticed that the command "ess-eval-region-and-go" and
> "ess-eval-chunk-and-go" does not work as under Emacs 22: When executing one
> of these two functions the cursor in the *R* process buffer does not always
> appear at the bottom, instead often the cursor appears in the middle of the
> buffer.  I haven't figure out a systematic here, but maybe some other users
> have observed a similar behavior.
> >
> > Regards, Sven
> >
> > ______________________________________________
> > ESS-help@... mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
> >
>

______________________________________________
ESS-help@... mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help