From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Garrison Subject: Re: babel, executing code in background process Date: Wed, 29 Feb 2012 21:43:44 -0500 Message-ID: References: <87booh1c7l.fsf@gmx.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04430662bbc27404ba256d40 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2vzh-0000pB-HD for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 21:43:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S2vze-0003x9-VK for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 21:43:49 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:65393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S2vze-0003wW-Le for emacs-orgmode@gnu.org; Wed, 29 Feb 2012 21:43:46 -0500 Received: by werj55 with SMTP id j55so73674wer.0 for ; Wed, 29 Feb 2012 18:43:44 -0800 (PST) In-Reply-To: <87booh1c7l.fsf@gmx.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org --f46d04430662bbc27404ba256d40 Content-Type: text/plain; charset=ISO-8859-1 Hi Eric, Thanks for the background. It looks like ob-screen may be very limited in that it doesn't It seems to me that a decent method would behave similarly to the way to "M-x compile" works--- another buffer opens in which the compilation progresses. Is there any reason why this might not be applicable to the way babel works? Erik On Wed, Feb 29, 2012 at 5:55 PM, Eric Schulte wrote: > Hi Erik, > > Currently there is not (to my knowledge) any support for asynchronous > code block evaluation. The one possible exception could be ob-screen > which I mention only because I don't really know anything about it. > > This would certainly be a worthwhile feature to add to Org-mode code > blocks, however a good implementation (easy to use, robust and > cross-language) will be non-trivial to implement. > > Best, > > Erik Garrison writes: > > > Hi, > > > > I'm just starting to use org-mode and babel to structure exploratory data > > analysis which I do for my work. > > > > One issue that I've run into is that many of the queries I have to issue > > will take a very long time to complete. > > > > Is there any method I could use to execute them in a background process? > > > > Thanks, > > Erik > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ > --f46d04430662bbc27404ba256d40 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Eric,

Thanks for the background. =A0It looks like ob-= screen may be very limited in that it doesn't=A0

It seems to me that a decent method would behave similarly to the way to= "M-x compile" works--- another buffer opens in which the compila= tion progresses. =A0Is there any reason why this might not be applicable to= the way babel works?

Erik

On Wed, F= eb 29, 2012 at 5:55 PM, Eric Schulte <eric.schulte@gmx.com> wrote:
Hi Erik,

Currently there is not (to my knowledge) any support for asynchronous
code block evaluation. =A0The one possible exception could be ob-screen
which I mention only because I don't really know anything about it.

This would certainly be a worthwhile feature to add to Org-mode code
blocks, however a good implementation (easy to use, robust and
cross-language) will be non-trivial to implement.

Best,

Erik Garrison <erik.garrison@= gmail.com> writes:

> Hi,
>
> I'm just starting to use org-mode and babel to structure explorato= ry data
> analysis which I do for my work.
>
> One issue that I've run into is that many of the queries I have to= issue
> will take a very long time to complete.
>
> Is there any method I could use to execute them in a background proces= s?
>
> Thanks,
> Erik

--
Eric Schulte
http://cs.unm.ed= u/~eschulte/

--f46d04430662bbc27404ba256d40--