emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [babel] RFC: column and row names in babel tables


From: Dan Davison
Subject: Re: [Orgmode] [babel] RFC: column and row names in babel tables
Date: Sun, 11 Apr 2010 17:09:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Taru Karttunen <address@hidden> writes:

> On Fri, 09 Apr 2010 20:03:55 -0400, Dan Davison <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]