From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: Scheme code block gives false error message Date: Tue, 15 Sep 2015 13:08:04 -0400 Message-ID: References: <877fnuj2q4.fsf@pierrot.dokosmarshall.org> <87y4gagkxc.fsf@pierrot.dokosmarshall.org> <87twqxglwu.fsf@pierrot.dokosmarshall.org> <87lhc8gywz.fsf@pierrot.dokosmarshall.org> <87h9mwgup6.fsf@pierrot.dokosmarshall.org> <87d1xkgue0.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160c2beacca56051fcc393f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbtiC-00073f-1i for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 13:08:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbtiA-0000F4-Qy for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 13:08:07 -0400 Received: from mail-la0-x22e.google.com ([2a00:1450:4010:c03::22e]:34250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbtiA-0000En-Fw for emacs-orgmode@gnu.org; Tue, 15 Sep 2015 13:08:06 -0400 Received: by lahg1 with SMTP id g1so82785558lah.1 for ; Tue, 15 Sep 2015 10:08:05 -0700 (PDT) In-Reply-To: <87d1xkgue0.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 --089e0160c2beacca56051fcc393f Content-Type: text/plain; charset=UTF-8 I've tried the Moebius workaround (see above). It seems to work, and #+begin_src scheme . . . seems to call my MIT scheme and do results just fine. But it ignores the idea of multiple sessions, which the geiser-based ob-scheme did so well and just has one MIT scheme "session." However it does not start a normal scheme REPL, rather, a "scratch"-like buffer that, in fact, seems to have MIT scheme listening to it. That is, I can type in (define (me x) (* x x x x)) and with C-x C-e everything is working, just like scratch and elisp do. Will try to use your patch and get back to you On Tue, Sep 15, 2015 at 12:48 AM, Nick Dokos wrote: > Nick Dokos writes: > > > Nick Dokos writes: > > > >> N.B. this is with guile: I have not tried chicken, MIT Scheme or any > >> other scheme implementation. > >> > > > > A comment on SO says that geiser (which is used by ob-scheme) > > only supports guile and racket, so until that changes, chicken or MIT > > Scheme won't work: > > > > > http://stackoverflow.com/questions/26578152/use-mit-scheme-instead-of-guile-for-org-mode-code-block-evaluation > > Eh, I should have checked the geiser site: it says > > > Racket 6.0 or better > Guile 2.0.9 or better > Chicken 4.8.0 or better > > are supported and there is work afoot to support scsh - no mention of > MIT Scheme afaict. > > -- > Nick > > > --089e0160c2beacca56051fcc393f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've tried the Moebius workaround (see above). It seem= s to work, and=C2=A0

#+begin_src scheme
. . .<= /div>

seems to call my MIT scheme and do results just fi= ne. But it ignores the idea of multiple sessions, which the geiser-based ob= -scheme did so well and just has one MIT scheme "session." Howeve= r it does not start a normal scheme REPL, rather, a "scratch"-lik= e buffer that, in fact, seems to have MIT scheme listening to it. That is, = I can type in=C2=A0

(define (me x)
=C2= =A0 (* x x x x))

and with C-x C-e everything is wo= rking, just like scratch and elisp do.

Will try to= use your patch and get back to you
<= br>
On Tue, Sep 15, 2015 at 12:48 AM, Nick Dokos = <ndokos@gmail.com> wrote:
<= span class=3D"">Nick Dokos <ndokos@g= mail.com> writes:

> Nick Dokos <ndokos@gmail.com> writes:
>
>> N.B. this is with guile: I have not tried chicken, MIT Scheme or a= ny
>> other scheme implementation.
>>
>
> A comment on SO says that geiser (which is used by ob-scheme)
> only supports guile and racket, so until that changes, chicken or MIT<= br> > Scheme won't work:
>
>
http://stackoverflow.com/questions/26578152/use-mit-scheme-i= nstead-of-guile-for-org-mode-code-block-evaluation

Eh, I should have checked the geiser site: it says


=C2=A0 =C2=A0 Racket 6.0 or better
=C2=A0 =C2=A0 Guile 2.0.9 or better
=C2=A0 =C2=A0 Chicken 4.8.0 or better

are supported and there is work afoot to support scsh - no mention of
MIT Scheme afaict.

--
Nick



--089e0160c2beacca56051fcc393f--