emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Andrews <kcandrew@mtu.edu>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Re: Using org-babel with Scheme
Date: Wed, 22 Feb 2012 20:40:54 -0500	[thread overview]
Message-ID: <CAG3md+s=8FK=9CoBthJ57e=MU1AQ7=mVdnXRPdYN06r4pQHa=g@mail.gmail.com> (raw)
In-Reply-To: <87sjicuo27.fsf@gmx.com>

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

I am having both of these issues on Emacs 24.  Emacs crashes sometimes on
geiser and babel won't evaluate scheme code as Racket code despite setting
'scheme-program-name and 'org-babel-scheme-cmd to "racket". However, Guile
will work if both of those variables hold "guile".

Any new developments?

On Wed, Feb 15, 2012 at 9:33 AM, Eric Schulte <eric.schulte@gmx.com> wrote:

> Leo Alekseyev <dnquark@gmail.com> writes:
> > Is anyone on the list using a recent org-babel with Scheme?  I
> > recently started working through SICP, and I'm running into issues
> > evaluating scheme src  blocks.  Org-babel error buffer pops up with
> > "ERROR: Wrong number of arguments to #<primitive-generic display>",
> > and the minibuffer prompts me for a lisp expression.  Is there
> > anything I need to configure beyond   (org-babel-do-load-languages
> > 'org-babel-load-languages  '((scheme . t)))?
> >
> > (Running latest org from git in Emacs 24; have Chicken scheme and
> > guile installed).
> >
> I loaded the ob-scheme.el directly (which should be the same as loading
> it with org-babel-do-load-languages as above) and the following works
> for me.
> #+begin_src scheme
>  (+ 1 1 1)
> #+end_src
> : 3
> I have guile installed and I have the `scheme-program-name' variable set
> to "guile elsewhere in my .emacs init.  I imagine setting the above
> variable should enable scheme evaluation.
> Best,
> while looking into this I did notice that when launching Geiser (a nice
> slime-like scheme evaluator) I would sometimes crash my entire Emacs
> process by pressing C-g when Geiser prompts for a scheme executable.  I
> imagine this is unrelated to your problem, but was certainly surprising.
> >
> > --Leo
> >
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte/

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

  reply	other threads:[~2012-02-23  1:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-09  7:53 Using org-babel with Scheme Leo Alekseyev
2012-02-15 14:33 ` Eric Schulte
2012-02-23  1:40   ` Kyle Andrews [this message]
2012-02-25 16:41     ` Eric Schulte

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:

  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='CAG3md+s=8FK=9CoBthJ57e=MU1AQ7=mVdnXRPdYN06r4pQHa=g@mail.gmail.com' \
    --to=kcandrew@mtu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.com \


* 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


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