From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: [Babel] now understands org-mode lists Date: Wed, 17 Nov 2010 16:57:04 -0700 Message-ID: <87r5ejwlkf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=34081 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIrsE-0006rU-C0 for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 18:57:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIrsD-0003Mt-ES for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 18:57:10 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:34197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIrsD-0003Mi-BE for emacs-orgmode@gnu.org; Wed, 17 Nov 2010 18:57:09 -0500 Received: by ywc21 with SMTP id 21so283755ywc.0 for ; Wed, 17 Nov 2010 15:57:08 -0800 (PST) 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: Org Mode Hi, I've just pushed up a small commit (including minimal documentation) which teaches code blocks how to read and write Org-mode lists. The following example should demonstrate the new behavior. #+results: a-list - org-mode - and - babel #+source: a-list #+begin_src emacs-lisp :var lst=a-list :results list (reverse lst) #+end_src This is just a quick first pass at this functionality, there are still some unanswered questions, such as if and how code blocks should differentiate between ordered and unordered lists (ordered get an index for each item?), how nested lists should be represented etc... Best -- Eric