emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: recognize comma separated text as table?
Date: Wed, 26 Sep 2007 12:55:39 +0200	[thread overview]
Message-ID: <87ir5xn1as.fsf@bzg.ath.cx> (raw)
In-Reply-To: <41c818190709251640k60e59a8ar9b85a34949dd3b64@mail.gmail.com> (William Henney's message of "Tue, 25 Sep 2007 18:40:37 -0500")

"William Henney" <whenney@gmail.com> writes:

> You could use org-table-import after converting all commas to tabs
> with query-replace (or sed, or whatever). Only problem would be if
> there were commas in quoted strings....

Stupid heuristic would compute the average number of commas per line,
and the average number of characters per quoted string. But doesn't csv
exporters already escape commas when they are part of a cell? Maybe they
should.

-- 
Bastien

  reply	other threads:[~2007-09-26 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 18:31 recognize comma separated text as table? Sivaram Neelakantan
2007-09-25 23:40 ` William Henney
2007-09-26 10:55   ` Bastien [this message]
2007-09-26 15:24 ` Carsten Dominik
2007-09-26 16:57   ` Sivaram Neelakantan

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=87ir5xn1as.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).