emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: babel scheme not working
Date: Thu, 28 May 2015 13:49:10 -0400	[thread overview]
Message-ID: <CAFAhFSUymX0Vw4=4jPPX-1okLhpJrM0AAd9U5+nBG0Dv2z26oQ@mail.gmail.com> (raw)
In-Reply-To: <CAFAhFSXLED0AQJX_QX75TM=1=gXENAXYi4+F-vFJ_7Yik44EPA@mail.gmail.com>

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

. . . 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?

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

  reply	other threads:[~2015-05-28 17:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 17:29 babel scheme not working Lawrence Bottorff
2015-05-28 17:49 ` Lawrence Bottorff [this message]
2015-05-28 18:15   ` Nick Dokos
2015-05-28 18:37     ` Lawrence Bottorff
2015-05-28 19:20       ` Nick Dokos
2015-05-28 19:40         ` Lawrence Bottorff
2015-05-28 19:56           ` 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='CAFAhFSUymX0Vw4=4jPPX-1okLhpJrM0AAd9U5+nBG0Dv2z26oQ@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).