emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Bernhard Pröll" <bmutbuerger@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: scheme SRC blocks
Date: Mon, 21 Mar 2016 11:56:45 +0100	[thread overview]
Message-ID: <20160321105645.GB11755@gmail.com> (raw)
In-Reply-To: <20160321082216.304b929d@pckr150.mpip-mainz.mpg.de>

On Mon, 21. Mar 08:22, Robert Klein wrote:
>Hi,
>Arun Isaac <theroarofthedragon@gmail.com> 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

  reply	other threads:[~2016-03-21 10:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20 20:20 scheme SRC blocks Arun Isaac
2016-03-21  7:22 ` Robert Klein
2016-03-21 10:56   ` Bernhard Pröll [this message]
2016-03-21 18:25     ` Arun Isaac
2016-03-22  8:05       ` Bernhard Pröll
2016-03-22 19:52         ` Arun Isaac

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=20160321105645.GB11755@gmail.com \
    --to=bmutbuerger@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).