From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Klein Subject: Re: scheme SRC blocks Date: Mon, 21 Mar 2016 08:22:16 +0100 Message-ID: <20160321082216.304b929d@pckr150.mpip-mainz.mpg.de> References: <87pouoaok5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahuAS-0007Cv-9C for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 03:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahuAP-0004yr-42 for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 03:22:24 -0400 Received: from gate1.mpip-mainz.mpg.de ([194.95.63.248]:50945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahuAO-0004yb-Tl for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 03:22:21 -0400 Received: from [10.20.2.71] (port=48551 helo=vmmail1.mpip-mainz.mpg.de) by gate1.mpip-mainz.mpg.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1ahuAK-00052u-2M for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 08:22:16 +0100 Received: from pckr150.mpip-mainz.mpg.de ([10.20.70.90]) by vmmail1.mpip-mainz.mpg.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from ) id 1ahuAK-0007sx-Kp for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 08:22:16 +0100 In-Reply-To: <87pouoaok5.fsf@gmail.com> 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: emacs-orgmode@gnu.org Hi, Arun Isaac wrote: > > I have an org file with scheme SRC blocks like so. > > #+BEGIN_SRC scheme > (some-code-here) > #+END_SRC > > Every time, I open the org file, I get prompted for the "Scheme > implementation" and I need to choose an implementation (guile, in my > case) before continuing. Similarly, I am also prompted for the same > when publishing the org file, or opening up the SRC block using > org-edit-special (C-c ') for editing. This happens because of the > behaviour of the command "scheme-mode" which prompts for the required > scheme implementation. > > Manually choosing the scheme implementation every time is tedious and > annoying. Is there some way to circumvent this issue? In addition to requiring 'geiser-install you have to set the geiser-active-implementations variable, e.g.: #+begin_src emacs-lisp (require 'geiser-install) (setq geiser-active-implementations '(guile)) #+end_src See also http://www.nongnu.org/geiser/geiser_3.html#choosing_002dimpl in the Geiser manual. Best regards Robert