From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Babel trims leading 0s for certain numbers of tables Date: Sun, 10 Jul 2016 08:38:28 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bME0H-0003lF-Th for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 08:38:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bME0G-0001g8-3q for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 08:38:32 -0400 Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:35031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bME0F-0001fa-V8 for emacs-orgmode@gnu.org; Sun, 10 Jul 2016 08:38:32 -0400 Received: by mail-qt0-x229.google.com with SMTP id j35so5552766qtj.2 for ; Sun, 10 Jul 2016 05:38:31 -0700 (PDT) Received: from parma.local ([2601:98a:4001:daec:60c1:55cd:e858:f5ff]) by smtp.gmail.com with ESMTPSA id 23sm272695qki.1.2016.07.10.05.38.29 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Jul 2016 05:38:29 -0700 (PDT) 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" To: emacs orgmode-mailinglist I've just discovered that when Org results are returned in a table, they are modified in that leading 0s are removed. Is this a feature? A bug? Is there a workaround for this? Leading 0s are not removed if the result is a string, but in many cases a string of numbers is still a string and should retain those 0s. -k. #+BEGIN_SRC sh :results table echo "0042" #+END_SRC #+RESULTS: | 42 | #+BEGIN_SRC sh :results table echo "00foo" #+END_SRC #+RESULTS: | 00foo |