From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: recognize comma separated text as table? Date: Wed, 26 Sep 2007 12:55:39 +0200 Message-ID: <87ir5xn1as.fsf@bzg.ath.cx> References: <41c818190709251640k60e59a8ar9b85a34949dd3b64@mail.gmail.com> 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 1IaUYc-0005qs-Lp for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 06:55:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaUYb-0005oH-An for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 06:55:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaUYb-0005nt-6k for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 06:55:53 -0400 Received: from ug-out-1314.google.com ([66.249.92.172]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaUYa-0005v8-Sd for emacs-orgmode@gnu.org; Wed, 26 Sep 2007 06:55:53 -0400 Received: by ug-out-1314.google.com with SMTP id m4so1280625uge for ; Wed, 26 Sep 2007 03:55:52 -0700 (PDT) In-Reply-To: <41c818190709251640k60e59a8ar9b85a34949dd3b64@mail.gmail.com> (William Henney's message of "Tue, 25 Sep 2007 18:40:37 -0500") 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: emacs-orgmode@gnu.org "William Henney" 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