emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jmcbray@carcosa.net (Jason F. McBrayer)
To: Ruslan Kosolapov <rkosolapov@swsoft.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: agenda csv export: three problems (batch, koi8-r and commas)
Date: Thu, 31 May 2007 08:27:32 -0400	[thread overview]
Message-ID: <m1myzlkwjv.fsf@bertrand.carcosa.net> (raw)
In-Reply-To: <87y7j51h4a.fsf@kosolapov-nb.plesk.ru> (Ruslan Kosolapov's message of "Thu\, 31 May 2007 16\:23\:33 +0700")

Ruslan Kosolapov <rkosolapov@swsoft.com> writes:

> org-mode 4.75, emacs-snapshot (latest from debian sid)
> --[ 3. Problems with , and "" ]--
>
> As far as I know, strings in csv should be quoted, else there will be
> problems if string contains comma.
>
> Now I see than "head" field placed in csv without quotes.  So, if I
> use comma in heading text, csv-parsing script fails.
>

I wondered about this immediately after csv agenda export was added,
so I tested it.  My testing showed that commas in headlines are
converted to semicolon on export (it must be getting done earlier in
the code than where you looked at it being placed in the csv).
Probably not The Right Thing, but good enough, and surely easier than
worrying about quoting.

-- 
+-----------------------------------------------------------+
| Jason F. McBrayer                    jmcbray@carcosa.net  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada    |

  reply	other threads:[~2007-05-31 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31  9:23 agenda csv export: three problems (batch, koi8-r and commas) Ruslan Kosolapov
2007-05-31 12:27 ` Jason F. McBrayer [this message]
2007-05-31 12:59   ` Ruslan Kosolapov
2007-05-31 14:41   ` Carsten Dominik
2007-05-31 12:53 ` Ruslan Kosolapov
2007-06-01  7:07 ` Carsten Dominik

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=m1myzlkwjv.fsf@bertrand.carcosa.net \
    --to=jmcbray@carcosa.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=rkosolapov@swsoft.com \
    /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).