From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Scheme babel error Date: Tue, 30 Aug 2016 12:02:56 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a92663a33c6053b4c1d89 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1belV5-0006rm-IE for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 12:03:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1belV4-0006I5-MS for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 12:02:59 -0400 Received: from mail-oi0-x233.google.com ([2607:f8b0:4003:c06::233]:34939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1belV4-0006Hr-Hd for emacs-orgmode@gnu.org; Tue, 30 Aug 2016 12:02:58 -0400 Received: by mail-oi0-x233.google.com with SMTP id j203so32281209oih.2 for ; Tue, 30 Aug 2016 09:02:58 -0700 (PDT) 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: emacs-orgmode Mailinglist --001a113a92663a33c6053b4c1d89 Content-Type: text/plain; charset=UTF-8 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 --001a113a92663a33c6053b4c1d89 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm using Racket with Geiser and I get this error:
executing Scheme code block...
=3D> #f
org-babel-scheme-execute-with-geiser: Invalid read syntax: "#&= quot;

when in an org-mode file this code

#+begin_src scheme :exports both :session ch3
(define (bool-imply2 x y)
=C2=A0 (or (not x) y))
#+end_src

is run (C-c-c)

#+BEGIN_SRC scheme :session ch3
(bool-imply2 #t #f)<= /div>
#+END_SRC

In the Racket "ch3&= quot; REPL session=C2=A0(bool-imply2 #t #f) works fine. I discovered this p= roblem when I first tried a simple export to HTML of the buffer. It seems t= o not like the second boolean parameter. So switching the parameters then c= omplains about #t . What might be going on? BTW, does an export try to &quo= t;run" all the code blocks, i.e., why did I find this when I was expor= ting to HTML?

LB
--001a113a92663a33c6053b4c1d89--