From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug or not a bug? dot expansion in ob-shell Date: Wed, 19 Feb 2020 10:41:15 +0100 Message-ID: <87a75eap8k.fsf@gnu.org> References: <87eeur3p1p.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48286) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4LrC-0006Y3-9U for emacs-orgmode@gnu.org; Wed, 19 Feb 2020 04:41:27 -0500 In-Reply-To: <87eeur3p1p.fsf@ucl.ac.uk> (Eric Fraga's message of "Wed, 19 Feb 2020 09:27:15 +0000") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: Vladimir Nikishkin , "emacs-orgmode@gnu.org" Hi Eric and Vladimir, "Fraga, Eric" writes: > On Wednesday, 19 Feb 2020 at 17:02, Vladimir Nikishkin wrote: >> Could you check if the following block behaves as expected? > > It does for me. What did you expect and what did you get? It returned "0" for me, while I guess "." is expected. The function org-babel--string-to-number was not interpreting Emacs numbers correctly: for example, -1e3 would not return a number, while it should. I've now fixed it in maint. Let me know if it does the right thing for you. Thanks, -- Bastien