From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Berry Subject: Re: [RFC] [PATCH] [babel] read description lists as lists of lists Date: Sat, 20 Sep 2014 00:30:44 +0000 (UTC) Message-ID: References: <87ha03qv19.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XV8a2-0007jI-S5 for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 20:31:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XV8Zr-0007xn-2k for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 20:31:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:46708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XV8Zq-0007xD-Sk for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 20:31:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XV8Zk-0007Fr-HW for emacs-orgmode@gnu.org; Sat, 20 Sep 2014 02:30:56 +0200 Received: from 137.110.34.228 ([137.110.34.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Sep 2014 02:30:56 +0200 Received: from ccberry by 137.110.34.228 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Sep 2014 02:30:56 +0200 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 Aaron Ecay gmail.com> writes: > > > Hello all, > > The attached patch makes babel read description lists as lists of the > following format: (("term" "description") ...). The present default is > to simply read in the text of each list item, yielding: > ("term :: description" ...). > > Of course, it’s possible to interconvert between the two formats, but I > think the greater structure of this proposal makes things easier for > babel authors. (Another way of thinking of the proposal is that it > treats description lists like two-column tables.) > > What do people think? With that change #+BEGIN_SRC R :var a=my-desc-list a #+END_SRC returns a data.frame with one column of terms and one of descriptions! Which, no doubt, is what you were thinking. This will be handy for creating DESCRIPTION files for R packages. I love it. FWIW, rgrep-ing org-babel-\(ref-resolve\)\|\(read-result\) and clicking on the links, I didn't catch any obvious problem cases. HTH, Chuck