From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] ob-core.el: Fix org-babel--string-to-number Date: Sat, 13 Oct 2018 23:23:26 +0200 Message-ID: <87y3b1ee29.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBRNn-00072w-Lx for Emacs-orgmode@gnu.org; Sat, 13 Oct 2018 17:23:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBRNk-0007Ku-DQ for Emacs-orgmode@gnu.org; Sat, 13 Oct 2018 17:23:35 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:55891) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBRNk-0007FV-2k for Emacs-orgmode@gnu.org; Sat, 13 Oct 2018 17:23:32 -0400 In-Reply-To: (qijian gong's message of "Thu, 11 Oct 2018 19:27:55 +0800") 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: qijian gong Cc: Emacs-orgmode@gnu.org Hello, qijian gong writes: > I've write a patch (see attachment) to fix the > `org-babel--string-to-number` function. > > In my opinion, if people write the data in the form `0001`, it means that > he wants to treat it as a string: I added TINYCHANGE at the end of the commit message and applied your patch on "next" branch (Org 9.3). Thank you. Regards, -- Nicolas Goaziou