From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Re: babel scheme not working Date: Thu, 28 May 2015 14:37:22 -0400 Message-ID: References: <878uc8zhzj.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2bd2a733a3e051728a6d9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy2gI-0000Ut-E7 for emacs-orgmode@gnu.org; Thu, 28 May 2015 14:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yy2gF-0003aN-CA for emacs-orgmode@gnu.org; Thu, 28 May 2015 14:37:26 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:33826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yy2gF-0003aJ-4F for emacs-orgmode@gnu.org; Thu, 28 May 2015 14:37:23 -0400 Received: by pabru16 with SMTP id ru16so29562762pab.1 for ; Thu, 28 May 2015 11:37:22 -0700 (PDT) In-Reply-To: <878uc8zhzj.fsf@alphaville.usersys.redhat.com> 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: Nick Dokos Cc: emacs-orgmode@gnu.org --001a11c2bd2a733a3e051728a6d9 Content-Type: text/plain; charset=UTF-8 The MIT scheme repl is running in the next buffer. . . On May 28, 2015 2:16 PM, "Nick Dokos" wrote: > Lawrence Bottorff writes: > > > . . . installed geiser via elpa -- and got some functionality. Although > a simple thing like > > > > #+BEGIN_SRC scheme > > (define (mydouble x) > > (+ x x)) > > #+END_SRC > > > > doesn't seem to remember from one block to the next. So, after defining > the code above > > > > #+BEGIN_SRC scheme > > (mydouble 5) > > #+END_SRC > > > > gives an error, while > > > > #+BEGIN_SRC scheme > > (define (mysquare x) > > (* x x)) > > (mysquare 5) > > #+END_SRC > > > > #+RESULTS: > > : 25 > > > > works. Any way to have it remember like a REPL does? > > Use a session? > > > --001a11c2bd2a733a3e051728a6d9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

The MIT scheme repl is running in the next buffer. . .

On May 28, 2015 2:16 PM, "Nick Dokos" = <ndokos@gmail.com> wrote:
Lawrence Bottorff <<= a href=3D"mailto:borgauf@gmail.com">borgauf@gmail.com> writes:

> . . . installed geiser via elpa -- and got some functionality. Althoug= h a simple thing like=C2=A0
>
> #+BEGIN_SRC scheme
> (define (mydouble x)
> (+ x x)) =C2=A0
> =C2=A0 #+END_SRC
>
> doesn't seem to remember from one block to the next. So, after def= ining the code above
>
> #+BEGIN_SRC scheme
> (mydouble 5)
> =C2=A0#+END_SRC
>
> gives an error, while=C2=A0
>
> =C2=A0#+BEGIN_SRC scheme
> (define (mysquare x)
> =C2=A0 (* x x))
> (mysquare 5)
> =C2=A0#+END_SRC
>
> =C2=A0 #+RESULTS:
> =C2=A0 : 25
>
> works. Any way to have it remember like a REPL does?

Use a session?


--001a11c2bd2a733a3e051728a6d9--