From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [Beta Release / Development Invitation] Org-Babel --- code evaluation for reproducible-research and literate-programming in org-mode Date: Fri, 26 Jun 2009 10:43:18 -0400 Message-ID: <87bpoboy2h.fsf@stats.ox.ac.uk> References: <1246005121-sup-403@oz.taruti.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKCeI-0003Oa-Q3 for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 10:43:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKCeE-0003GI-RU for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 10:43:30 -0400 Received: from [199.232.76.173] (port=47370 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKCeE-0003Fv-Ma for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 10:43:26 -0400 Received: from mx20.gnu.org ([199.232.41.8]:59847) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MKCeE-0000xE-9x for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 10:43:26 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKCeC-0001xU-7k for emacs-orgmode@gnu.org; Fri, 26 Jun 2009 10:43:24 -0400 In-Reply-To: <1246005121-sup-403@oz.taruti.net> (Taru Karttunen's message of "Fri, 26 Jun 2009 12:02:20 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Taru Karttunen Cc: emacs-orgmode Taru Karttunen writes: > Excerpts from Eric Schulte's message of Thu Jun 25 23:25:30 +0300 2009: >> For the past couple of months I have been working on Org-Babel, with Dan >> Davison and (initially) Austin Frank. Through Org-Babel Org-Mode can >> communicate with programming languages. Code contained in source-code >> blocks can be evaluated and data can pass seamlessly between different >> programming languages, Org-Mode constructs (tables, file links, example >> text) and interactive comint buffers. One part of the project is the >> "Library of Babel", which will be an extensible collection of ready-made >> and easily-shortcut-callable source-code blocks for handling common >> tasks. > > How do I try it out? Hi Taru and other potential org-babel collaborators, org-babel-init.el is what you need, so: (add-to-list 'load-path "/path/to/org-babel/lisp") (require 'org-babel-init) After that, good starting points to see in action some of the functionality that Eric has implemented are the `Sandbox' section of org-babel.org, and the large table in the `Tests' section. C-c C-c anywhere in a source code block in the Sandbox should execute that block. In the Tests section, C-u C-c C-c in the table runs a suite of tests of org-babel functionality, updating the table with the results of code evaluation in several languages, and flagging up failed tests (more fun if you clear out the `results' and `pass' column first). Dan > > I tried the following: > 1) update org-mode to latest git > 2) restart emacs and open org-babel.org > 3) add the load path and (require 'org-babel) > 4) press C-cC-c on a begin_src line > it only says "Local setup has been refreshed" and nothing happens. > > ps. org-babel seems very nifty from reading things > > - Taru Karttunen > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode