From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Scheme code block gives false error message Date: Sun, 13 Sep 2015 13:14:40 +0000 Message-ID: References: <877fnuj2q4.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160c2be42f59e051fa0bb05 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zb77C-00049L-Pn for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 09:14:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zb77B-0006kZ-PP for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 09:14:42 -0400 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:35664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zb77B-0006k4-HT for emacs-orgmode@gnu.org; Sun, 13 Sep 2015 09:14:41 -0400 Received: by lbpo4 with SMTP id o4so56423703lbp.2 for ; Sun, 13 Sep 2015 06:14:40 -0700 (PDT) In-Reply-To: <877fnuj2q4.fsf@pierrot.dokosmarshall.org> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --089e0160c2be42f59e051fa0bb05 Content-Type: text/plain; charset=UTF-8 Sorry, Nick, not following you. Could you elaborate more? As a rank beginner, I'm not sure what a backtrace is or how to produce one or how it read it. What do you mean by "master" and "maint"? On Sun, Sep 13, 2015 at 5:41 AM, Nick Dokos wrote: > Lawrence Bottorff writes: > > > Again, this code > > > > #+BEGIN_SRC scheme :session ch1 :exports both > > (define (bool-imply a b) > > (if (or (not a) b) #t #f)) > > #+END_SRC > > > > gives the error > > > > org-babel-scheme-execute-with-geiser: Invalid read syntax: "#" > > > > and this time attempting to use the function > > > > #+BEGIN_SRC scheme :session ch1 :exports both > > (bool-imply #t #f) > > #+END_SRC > > > > produces no #RESULTS: block, rather, again, the error (in Messages > buffer) > > > > org-babel-scheme-execute-with-geiser: Invalid read syntax: "#" > > > > even though this is perfectly healthy code, and it works in the > accompanying "ch1" REPL. Any ideas what's happening? > > > > Your previous example worked for me (both with master and maint - I use > guile, not chicken, but that should make no difference). > > But this one fails with the "Invalid read syntax error" and with the > attached backtrace (running on maint - master gave the same error but > I didn't get a backtrace). > > > > HTH. > -- > Nick > > --089e0160c2be42f59e051fa0bb05 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, Nick, not following you. Could you elaborate more? = As a rank beginner, I'm not sure what a backtrace is or how to produce = one or how it read it. What do you mean by "master" and "mai= nt"?

On= Sun, Sep 13, 2015 at 5:41 AM, Nick Dokos <ndokos@gmail.com> = wrote:
Lawrence Bottorff <borgauf@= gmail.com> writes:

> Again, this code
>
> #+BEGIN_SRC scheme :session ch1 :exports both
> (define (bool-imply a b)
> =C2=A0 (if (or (not a) b) #t #f))
> #+END_SRC
>
> gives the error
>
> org-babel-scheme-execute-with-geiser: Invalid read syntax: "#&quo= t;
>
> and this time attempting to use the function
>
> #+BEGIN_SRC scheme :session ch1 :exports both
> (bool-imply #t #f)
> #+END_SRC
>
> produces no #RESULTS: block, rather, again, the error (in Messages buf= fer)
>
> org-babel-scheme-execute-with-geiser: Invalid read syntax: "#&quo= t;
>
> even though this is perfectly healthy code, and it works in the accomp= anying "ch1" REPL. Any ideas what's happening?
>

Your previous example worked for me (both with master and maint= - I use
guile, not chicken, but that should make no difference).

But this one fails with the "Invalid read syntax error" and with = the
attached backtrace (running on maint - master gave the same error but
I didn't get a backtrace).



HTH.
--
Nick


--089e0160c2be42f59e051fa0bb05--