From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc-Oliver Ihm Subject: org-babel: feature-request: allow table-cells to be passed as strings Date: Sun, 03 Oct 2010 20:39:54 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=60899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2eiW-0006Z7-Vn for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 02:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2eiV-0002NT-VT for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 02:40:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:42323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2eiV-0002N7-Q2 for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 02:40:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P2eiR-0003Gs-4v for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 08:40:03 +0200 Received: from p54a8934c.dip0.t-ipconnect.de ([84.168.147.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 08:40:03 +0200 Received: from ihm by p54a8934c.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Oct 2010 08:40:03 +0200 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 Hello ! Currently org-babel, when passing a table as input to a source-code-block, behaves like this: If the cell looks like a number, it will be converted to an integer or a float. Otherwise the cell-content is passed unconverted as a string. Now, dealing with very large numbers (which I want to process with calc), I found this behavior annoying, because babel converts my large numbers to float, loosing precision in the process. Now my request would be, to have a switch (maybe as a header argument) which would tell babel to pass all cells as unconverted strings. I have checked the documentation and the sources and have not been able to find such a switch. with kind regards, Marc-Oliver Ihm