emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Taru Karttunen <taruti@taruti.net>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [babel] RFC: column and row names in babel tables
Date: Sun, 11 Apr 2010 17:09:04 -0400	[thread overview]
Message-ID: <87ochpd7db.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87vdbx91fl.fsf@nar.taruti.net> (Taru Karttunen's message of "Sun, 11 Apr 2010 23:30:54 +0300")

Taru Karttunen <taruti@taruti.net> writes:

> On Fri, 09 Apr 2010 20:03:55 -0400, Dan Davison <davison@stats.ox.ac.uk> 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

      reply	other threads:[~2010-04-11 21:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-10  0:03 [babel] RFC: column and row names in babel tables Dan Davison
2010-04-11 20:30 ` Taru Karttunen
2010-04-11 21:09   ` Dan Davison [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ochpd7db.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=taruti@taruti.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).