From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Scheme babel error
Date: Tue, 30 Aug 2016 12:02:56 -0400 [thread overview]
Message-ID: <CAFAhFSWt7d=Uifxsh+wBRaeM0bEza2Qjyy+PfmojOfsoPycKEg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
I'm using Racket with Geiser and I get this error:
executing Scheme code block...
=> #f
org-babel-scheme-execute-with-geiser: Invalid read syntax: "#"
when in an org-mode file this code
#+begin_src scheme :exports both :session ch3
(define (bool-imply2 x y)
(or (not x) y))
#+end_src
is run (C-c-c)
#+BEGIN_SRC scheme :session ch3
(bool-imply2 #t #f)
#+END_SRC
In the Racket "ch3" REPL session (bool-imply2 #t #f) works fine. I
discovered this problem when I first tried a simple export to HTML of the
buffer. It seems to not like the second boolean parameter. So switching the
parameters then complains about #t . What might be going on? BTW, does an
export try to "run" all the code blocks, i.e., why did I find this when I
was exporting to HTML?
LB
[-- Attachment #2: Type: text/html, Size: 1093 bytes --]
next reply other threads:[~2016-08-30 16:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 16:02 Lawrence Bottorff [this message]
2016-08-30 17:16 ` Scheme babel error Nick Dokos
2016-08-30 18:07 ` Lawrence Bottorff
2016-08-31 16:38 ` Nick Dokos
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='CAFAhFSWt7d=Uifxsh+wBRaeM0bEza2Qjyy+PfmojOfsoPycKEg@mail.gmail.com' \
--to=borgauf@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).