I have the following code in ~/.emacs for running scheme (gosh and mit-scheme).
;(setq scheme-program-name "gosh -i")
(setq scheme-program-name "mit-scheme")
(autoload 'scheme-mode "cmuscheme" "Major mode for scheme." t)
(autoload 'run-scheme "cmuscheme" "Run an inferior scheme process." t)
(defun scheme-other-window ()
"Run scheme on other window"
(interactive)
(switch-to-buffer-other-window
(get-buffer-create "*scheme*"))
(run-scheme scheme-program-name))
(define-key global-map
"\C-cs" 'scheme-other-window)
C-c s starts the scheme in REPL way specified at 'scheme-program-name', and I select the scheme to use by commenting out one or the other.
Is there better way than this? I mean, can I select which scheme to use with 'M-x' or something?