From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Re: Set babel scheme to chicken? Date: Sat, 29 Aug 2015 12:45:56 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVot9-0003z5-Oq for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 18:46:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVot6-0005pv-II for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 18:46:19 -0400 Received: from gproxy10-pub.mail.unifiedlayer.com ([69.89.20.226]:35487) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1ZVot6-0005pr-By for emacs-orgmode@gnu.org; Sat, 29 Aug 2015 18:46:16 -0400 In-reply-to: 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: Lawrence Bottorff Cc: emacs-orgmode@gnu.org Aloha Lawrence, Lawrence Bottorff 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