emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug or not a bug? dot expansion in ob-shell


From: Kaushal Modi
Subject: Re: Bug or not a bug? dot expansion in ob-shell
Date: Thu, 27 Feb 2020 09:25:55 -0500

Hello all,


On Wed, Feb 19, 2020 at 7:11 AM Bastien <address@hidden> wrote:
Hi Eric,

note that the previous behavior only _seemed_ right by chance: there
is no notion of getting the exit code of the shell command in
ob-shell.el, and returning "0" is just a hazard here, just because
(org-babel--string-to-number ".") returns "0", while it should return
nil.

Seems like I missed this long thread. After this change to org-babel--string-to-number, now (org-babel--string-to-number "1,3-5") is now returning 1 (instead of returning nil as before).

Related thread that I just started: https://lists.gnu.org/r/emacs-orgmode/2020-02/msg00932.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]