From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernhard =?iso-8859-1?Q?Pr=F6ll?= Subject: Re: scheme SRC blocks Date: Mon, 21 Mar 2016 11:56:45 +0100 Message-ID: <20160321105645.GB11755@gmail.com> References: <87pouoaok5.fsf@gmail.com> <20160321082216.304b929d@pckr150.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxVJ-0001Dk-Ki for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 06:56:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahxVE-00077U-Lq for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 06:56:09 -0400 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:37899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahxVE-00077J-F4 for emacs-orgmode@gnu.org; Mon, 21 Mar 2016 06:56:04 -0400 Received: by mail-wm0-x229.google.com with SMTP id l68so116670566wml.1 for ; Mon, 21 Mar 2016 03:56:04 -0700 (PDT) Received: from gmail.com (chello062178064090.22.11.vie.surfer.at. [62.178.64.90]) by smtp.gmail.com with ESMTPSA id w203sm10365418wmg.14.2016.03.21.03.56.01 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 21 Mar 2016 03:56:02 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20160321082216.304b929d@pckr150.mpip-mainz.mpg.de> 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 On Mon, 21. Mar 08:22, Robert Klein wrote: >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 > > Hi, alternatively there is a :scheme header argument for src blocks: #begin_src scheme :scheme guile Regards Bernhard