[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Scheme code block gives false error message
From: |
Nick Dokos |
Subject: |
Re: [O] Scheme code block gives false error message |
Date: |
Mon, 14 Sep 2015 23:10:52 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Nick Dokos <address@hidden> writes:
> Lawrence Bottorff <address@hidden> writes:
>
>> I think this
>> (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/)
>> describes my problem. Basically, it's with ob-scheme.el. The article
>> seems to say that my problem is scheme stuff being handled improperly
>> by the elisp of ob-scheme.el.
>
> Yes, that sounds right.
>
>> I'll try his workaround and see if it works. He also seems to believe Scheme
>> is a second-class
>> citizen in babel-land.
>>
Actually... I don't know why that (read result) is there at all: result
is a string representation of the result that the scheme interpreter
returned. It does not make any sense to me that we try to read that and
make it into an elisp object: we should just return the string itself.
With that change (see attached patch) on more-or-less current master
(the exact version is Org-mode version 8.3.1 (release_8.3.1-236-g14f5f6
@ /home/nick/src/emacs/org/org-mode/lisp/), I can evaluate everything
that you sent out without any error (see attached file "scheme.org"
which includes evaluation results).
N.B. this is with guile: I have not tried chicken, MIT Scheme or any
other scheme implementation.
Thoughts?
--
Nick
0001-Return-result-not-read-result-from-org-babel-scheme-.patch
Description: [PATCH-RFC] org-babel-scheme-execute-with-geiser fix
scheme.org
Description: scheme.org - scheme examples from Lawrence Bottorff
- Re: [O] Scheme code block gives false error message, (continued)
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/13
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/13
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/13
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/13
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/13
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/14
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/14
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/14
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/14
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/14
- Re: [O] Scheme code block gives false error message,
Nick Dokos <=
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/15
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/15
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/15
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/15
- Re: [O] Scheme code block gives false error message, Lawrence Bottorff, 2015/09/15
- Re: [O] Scheme code block gives false error message, Nick Dokos, 2015/09/15