emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Scheme code block gives false error message
Date: Sun, 13 Sep 2015 13:14:40 +0000	[thread overview]
Message-ID: <CAFAhFSXqBg5nBGc8JQUWhSoOe2JK-P+KhUz1uau++kt8W2Zd2Q@mail.gmail.com> (raw)
In-Reply-To: <877fnuj2q4.fsf@pierrot.dokosmarshall.org>

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

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 <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)
> >   (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
>
>

[-- Attachment #2: Type: text/html, Size: 1971 bytes --]

  reply	other threads:[~2015-09-13 13:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-12  1:23 Scheme code block gives false error message Lawrence Bottorff
2015-09-13  4:03 ` Lawrence Bottorff
2015-09-13  5:41   ` Nick Dokos
2015-09-13 13:14     ` Lawrence Bottorff [this message]
2015-09-13 19:48       ` Nick Dokos
2015-09-14  3:50         ` Lawrence Bottorff
2015-09-14 13:39           ` Nick Dokos
2015-09-14 15:56             ` Lawrence Bottorff
2015-09-14 18:55               ` Nick Dokos
2015-09-14 21:18                 ` Lawrence Bottorff
2015-09-15  1:38                   ` Nick Dokos
2015-09-15  3:10             ` Nick Dokos
2015-09-15  4:41               ` Nick Dokos
2015-09-15  4:48                 ` Nick Dokos
2015-09-15 17:08                   ` Lawrence Bottorff
2015-09-15 17:25                     ` Lawrence Bottorff
2015-09-15 18:54                       ` Lawrence Bottorff
2015-09-15 19:14                       ` 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=CAFAhFSXqBg5nBGc8JQUWhSoOe2JK-P+KhUz1uau++kt8W2Zd2Q@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).