From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Patch for asynchronous export of ocaml code Date: Mon, 06 May 2013 08:22:08 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZEoI-0004FE-Tc for emacs-orgmode@gnu.org; Mon, 06 May 2013 02:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZEoI-0001h3-04 for emacs-orgmode@gnu.org; Mon, 06 May 2013 02:22:06 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:51566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZEoH-0001gv-Om for emacs-orgmode@gnu.org; Mon, 06 May 2013 02:22:05 -0400 In-reply-to: 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: "emacs-orgmode@gnu.org" Hello, Can I apply this patch? Thanks, Alan Alan Schmitt writes: > Hello, > > It is not currently possible to asynchronously export the results of the > evaluation an ocaml babel block because the evaluation needs to start a toplevel > and thus asks the user what program to run. This of course blocks the > asynchronous export. > > The attached patch adds a custom variable to specify the name of the command > to run, and directly calls the tuareg function that starts the toplevel given > the command.