all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thomas S. Dye <tsd@tsdye.com>
To: Lawrence Bottorff <borgauf@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Set babel scheme to chicken?
Date: Sat, 29 Aug 2015 12:45:56 -1000	[thread overview]
Message-ID: <m2io7xaf2z.fsf@tsdye.com> (raw)
In-Reply-To: <CAFAhFSVBgFUAoJ+==1AsYAWiY9=M9xcJ8XpC1Xm52LO10_cT4w@mail.gmail.com>

Aloha Lawrence,

Lawrence Bottorff <borgauf@gmail.com> writes:

> I have a few schemes installed on my computer (MIT, guile, chicken), but
> when I run such code as this
>
> #+BEGIN_SRC scheme :session one
> (define (myadd x y)
>    (+ x y))
> #+END_SRC
>
> it works -- beautifully with multiple REPLs (as you name them in the
> :session) -- but it always grabs the guile. I'd like it to use chicken
> instead -- or maybe later MIT. I've got latest geiser installed as well
> that should handle chicken. How can I use chicken inside of orgmode scheme
> code blocks? Wild guess, guile is first on some list, i.e., path? babel
> customize didn't seem to have an entry for which flavor.

Looking at the code, there is a :scheme header argument that can
indicate what scheme implementation should be used.  Otherwise, it
appears to use geiser-impl--implementation, which a comment says is
defined in geiser-impl.el.  There is also geiser-default-implementation
and geiser-active-implementations from that same source.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2015-08-29 22:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-29 22:13 Set babel scheme to chicken? Lawrence Bottorff
2015-08-29 22:45 ` Thomas S. Dye [this message]
2015-08-30  0:26   ` Lawrence Bottorff
2015-08-30  3:09     ` Thomas S. Dye

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2io7xaf2z.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.