From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Converting csv (with new lines) to org-mode. Date: Fri, 15 Feb 2013 22:29:19 +0100 Message-ID: <87621t9sgg.fsf@bzg.ath.cx> References: <87a9rpy1x2.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6SqT-0001t3-VO for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:29:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6SqQ-0001hb-0W for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:29:25 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:35774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6SqP-0001hJ-Ri for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 16:29:21 -0500 Received: by mail-wi0-f179.google.com with SMTP id ez12so1683787wid.12 for ; Fri, 15 Feb 2013 13:29:20 -0800 (PST) In-Reply-To: <87a9rpy1x2.fsf@yahoo.fr> (Nicolas Richard's message of "Thu, 31 Jan 2013 13:25:45 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Richard Cc: emacs-orgmode@gnu.org Hi Nicolas, "Nicolas Richard" writes: > A csv table can include newlines in its fields, which confuses the csv > parser contained in org-table-convert-region. Since I had no time to > patch the current implementation of org-table-convert-region, I decided > to use an already existing csv parser found in marmalade. You find below > the code I used (requires pcsv, a csv parser) if anyone is > interested. Thanks for sharing this! I've added it to the org-hacks.org page of Worg. -- Bastien