From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [babel] RFC: column and row names in babel tables Date: Sun, 11 Apr 2010 17:09:04 -0400 Message-ID: <87ochpd7db.fsf@stats.ox.ac.uk> References: <87pr28w4us.fsf@stats.ox.ac.uk> <87vdbx91fl.fsf@nar.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 1O14P5-0005Oy-GC for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 17:09:15 -0400 Received: from [140.186.70.92] (port=60666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O14P3-0005OT-BN for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 17:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O14P1-0007An-Bz for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 17:09:13 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:37360) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O14P1-0007Ag-4m for emacs-orgmode@gnu.org; Sun, 11 Apr 2010 17:09:11 -0400 In-Reply-To: <87vdbx91fl.fsf@nar.taruti.net> (Taru Karttunen's message of "Sun, 11 Apr 2010 23:30:54 +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 org-mode mailing list Taru Karttunen writes: > On Fri, 09 Apr 2010 20:03:55 -0400, Dan Davison wrote: >> New behaviour: by default all languages will *drop all hlines* from >> tables in input. We shall make no attempt to reinstate hlines in the >> output[1] *Do we want some way for the user to control hlines in the >> output?* Hi Taru, Thanks for responding. > > Why not an empty row? > > | 1 | 2 | 3 | > |---+---+---| > | 4 | 5 | 6 | > > would become: [[1,2,3], [], [4,5,6]]. One problem is that in some languages, org tables are converted into a matrix-like data structure, not simply a list-of-lists. An example is R (and I think also gnuplot). So in those languages, all rows must be the same length. Also, I believe that hlines are ignored when computing indexes in Org table formulas, so I thought that omitting hlines would make indexing in babel languages more consistent with indexing in org. Dan > > - Taru Karttunen > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode