emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-babel with R, scrolling an inferior ESS process


From: Erik Iverson
Subject: Re: [Orgmode] org-babel with R, scrolling an inferior ESS process
Date: Thu, 18 Feb 2010 09:37:45 -0600
User-agent: Thunderbird 2.0.0.23 (X11/20090812)

Hello,

<snip>

Can anyone
1) replicate that you don't see the scrolling, even with the
comint-scroll-to-bottom-on-output variable set to 't'?

Yes, this has been on my todo list for a while! Definitely time to fix it.

Great, I'd be happy to test out the code when it's ready!


2) suggest a way to get the *R* buffer to scroll to the bottom when I
execute a source block from an org-mode file to a running *R* session?

It seems to be fixable by changing a couple of save-window-excursions
into save-excursions (patch below). I haven't thought of anything that
this will break, but in any case I suspect that Eric S. will apply the
correct fix to the main git repo soon.

As for the 'org_babel_R_eoe' stuff, that is org-babel internals that
ideally would not be exposed to the user. I suspect that it is possible
to remove it from the comint buffer -- Eric S. is definitely best placed
to comment on the best way of doing that.


That would be great, too!


Please do let us know of any other improvements we can make to using
org-babel with ESS. Good integration with ESS has been one of our aims
from the beginning.

I will let you know as I continue using it. The ultimate improvement IMO would be some sort of good multi-mode support, so that things between #+begin_src/#+end_src would be fontified according to their mode. And when I, for example, move into an R source section in my org-mode buffer, all ESS key bindings would work.

I have read a couple recent threads about getting functionality like this via two-mode-mode for instance, but they have some quirks that make it unusable for me. Are you and Eric working on anything like this? I have been investigating different options and will let you know if I find anything promising!

Thanks!
Erik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]