From: Daniel Kraus <daniel@kraus.my>
To: rab@devsphoto.com
Cc: emacs-orgmode@gnu.org
Subject: Re: ob-clojure: results quoted nil
Date: Wed, 17 May 2023 11:26:12 +0200 [thread overview]
Message-ID: <878rdn5mw4.fsf@kraus.my> (raw)
In-Reply-To: <3e46df648e77d98e41008c0c7bdb1832@devsphoto.com>
Hi!
rab@devsphoto.com writes:
> The quoted NIL is not showing on the Result block.
>
> Org mode version 9.6.1 (9.6.1-??-fe92a3ced @
> /Users/rafiks/.emacs.d/.local/straight/build-28.2/org/)
>
> #+begin_src clojure :results value
> (nil? 1)
> (nil? nil)
> (if "bears eat beets"
> "bears beets Battlestar Galactica")
> (if nil
> "This won't be the result because nil is falsey"
> "nil is falsey")
> #+end_src
>
> #+RESULTS:
> | false |
> | true |
> | "bears beets Battlestar Galactica" |
> | " is falsey" |
The results you get from a ob-clojure block got re-worked recently.
That `:results value` returned ALL values and not only the last one
was actually a bug.
Can you try again with the latest org (/ob-clojure) version?
You should now only get:
#+RESULTS:
: nil is falsey
Thanks,
Daniel
next prev parent reply other threads:[~2023-05-17 9:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 1:59 ob-clojure: results quoted nil rab
2023-05-17 9:26 ` Daniel Kraus [this message]
2023-05-17 9:45 ` Ihor Radchenko
2023-05-17 9:45 ` Daniel Kraus
2023-05-18 10:32 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rdn5mw4.fsf@kraus.my \
--to=daniel@kraus.my \
--cc=emacs-orgmode@gnu.org \
--cc=rab@devsphoto.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).