From mboxrd@z Thu Jan 1 00:00:00 1970 From: jmcbray@carcosa.net (Jason F. McBrayer) Subject: Re: agenda csv export: three problems (batch, koi8-r and commas) Date: Thu, 31 May 2007 08:27:32 -0400 Message-ID: References: <87y7j51h4a.fsf@kosolapov-nb.plesk.ru> 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 1Htjkd-0001Br-Qa for emacs-orgmode@gnu.org; Thu, 31 May 2007 08:27:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Htjkc-0001BE-MQ for emacs-orgmode@gnu.org; Thu, 31 May 2007 08:27:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Htjkc-0001B8-BK for emacs-orgmode@gnu.org; Thu, 31 May 2007 08:27:34 -0400 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.33]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Htjkb-0004xn-RL for emacs-orgmode@gnu.org; Thu, 31 May 2007 08:27:33 -0400 In-Reply-To: <87y7j51h4a.fsf@kosolapov-nb.plesk.ru> (Ruslan Kosolapov's message of "Thu\, 31 May 2007 16\:23\:33 +0700") 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: Ruslan Kosolapov Cc: emacs-orgmode@gnu.org Ruslan Kosolapov 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 |