From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: I need help extending ob-ocaml to support :results output Date: Sat, 29 Mar 2014 12:07:19 +0100 Message-ID: References: <87vbv4gxzl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTr9Y-0007qL-US for emacs-orgmode@gnu.org; Sat, 29 Mar 2014 07:10:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WTr9S-0006lR-GM for emacs-orgmode@gnu.org; Sat, 29 Mar 2014 07:10:20 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:60866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WTr9S-0006kg-9u for emacs-orgmode@gnu.org; Sat, 29 Mar 2014 07:10:14 -0400 In-Reply-To: (Alan Schmitt's message of "Wed, 26 Mar 2014 22:39:53 +0100") 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 Hello, Alan Schmitt writes: > Hello, > > Here is a patch that allows for the output of ocaml babel blocks to be > captured. It also makes the parsing of the resulting value more robust: > results of type "string list" are now converted to a table, for > instance. > > At the moment I only check for results of the form "verbatim" or > "output" (before this patch, only "verbatim" was possible). Results of > kind "value" are parsed as before (converted to a string, a number, > a table, or left as-is). > > Please don't hesitate to suggest improvements, to the code or to the > Changelog. Should I push this patch? Thanks, Alan