emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Set babel scheme to chicken?
Date: Sun, 30 Aug 2015 00:26:18 +0000	[thread overview]
Message-ID: <CAFAhFSX2UieAFU8Hsn57OS-Dt8ZLDd3L8K9CmptGC_QD7gymhw@mail.gmail.com> (raw)
In-Reply-To: <m2io7xaf2z.fsf@tsdye.com>

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

Not sure what the :scheme header argument might be or how to change it.
However, changing the geiser-impl--implementation (changed order to make
sure) and geiser-default-implementation seemed to do the trick. My bad
overlooking this.

Thanks,
LB

On Sat, Aug 29, 2015 at 10:45 PM, Thomas S. Dye <tsd@tsdye.com> wrote:

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

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

  reply	other threads:[~2015-08-30  0:26 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
2015-08-30  0:26   ` Lawrence Bottorff [this message]
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

  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=CAFAhFSX2UieAFU8Hsn57OS-Dt8ZLDd3L8K9CmptGC_QD7gymhw@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).