From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] [PATCH] [babel] read description lists as lists of lists Date: Mon, 29 Sep 2014 00:09:12 +0200 Message-ID: <8761g7wg6v.fsf@nicolasgoaziou.fr> References: <87ha03qv19.fsf@gmail.com> <87ha02a4qg.fsf@nicolasgoaziou.fr> <87d2anougv.fsf@gmail.com> <87tx3weqrv.fsf@nicolasgoaziou.fr> <87oau4my5o.fsf@gmail.com> <877g0qeosp.fsf@nicolasgoaziou.fr> <87tx3sl254.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYMej-0006eq-0C for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 18:09:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYMea-00063j-4U for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 18:09:24 -0400 Received: from slow1-d.mail.gandi.net ([217.70.178.86]:48256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYMeZ-00063Q-UK for emacs-orgmode@gnu.org; Sun, 28 Sep 2014 18:09:16 -0400 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id 7AB4B47BF35 for ; Mon, 29 Sep 2014 00:08:34 +0200 (CEST) Received: from mfilter40-d.gandi.net (mfilter40-d.gandi.net [217.70.178.171]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id C9319FB87D for ; Mon, 29 Sep 2014 00:08:33 +0200 (CEST) Received: from relay6-d.mail.gandi.net ([217.70.183.198]) by mfilter40-d.gandi.net (mfilter40-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id RoQMZ6xe-Bln for ; Mon, 29 Sep 2014 00:08:31 +0200 (CEST) Received: from selenimh (unknown [91.224.148.150]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 86A56FB87E for ; Mon, 29 Sep 2014 00:08:30 +0200 (CEST) In-Reply-To: <87tx3sl254.fsf@gmail.com> (Aaron Ecay's message of "Sun, 28 Sep 2014 01:55:51 -0400") 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: Org-mode Aaron Ecay writes: > Let=E2=80=99s back up a step. The representation I am targeting with my = change > is what babel uses to ship a list off as input to code in a babel block. > This code could be emacs lisp, but it could also be R, python, etc. So > the question is, how to provide a consistent language-agnostic view of > org structure to other languages. The resultant structure doesn=E2=80=99= t hang > around inside babel, it just gets handed off to a code block. I know. But another internal representation is an additional maintenance burden. > It=E2=80=99s not work that I=E2=80=99m afraid of: I offered to rewrite bo= th babel and > radio lists in terms of org-elements. Maybe I am insane, as you imply. I never wrote, implied or even thought you were insane. > What if I rewrote org-babel-read-list in terms of org-elements? That > would satisfy me wrt. babel, and wouldn=E2=80=99t necessitate disturbing > org-list-parse-list, radio lists, or indeed anything outside of babel. That is even better. Regards, --=20 Nicolas Goaziou