Hi,
I'm trying out gambit 4.5.3 on Windows XP. I installed it using the mingw distribution.
I can run both gsc and gsi just fine from a command console, but I can't seem to get inferior scheme mode working on Emacs (v23.1.1). I put gambit.el in my load path and set (require 'gambit) in my .emacs file.
When I try to run gsi using Meta-x run-scheme, I get a new emacs buffer but don't seen the REPL.
If I try to run gsi from a dos shell within emacs, a new windows pops up with gsi running, but it doesn't echo anything that I type.
Any ideas?
-- Siddharth
Afficher les réponses par date
Siddharth <heroor <at> gmail.com> writes:
Hi,
I'm trying out gambit 4.5.3 on Windows XP. I installed it using the mingw distribution.
If I try to run gsi from a dos shell within emacs, a new windows pops up with gsi running, but it doesn't echo anything that I type.
Figured it out - Need to run gsc or gsi not in console mode but in raw stdin/ stdout mode. My .emacs looks like this.
;; GAMBIT installation (autoload 'gambit-inferior-mode "gambit" "Hook Gambit mode into cmuscheme.") (autoload 'gambit-mode "gambit" "Hook Gambit mode into scheme.") (add-hook 'inferior-scheme-mode-hook (function gambit-inferior-mode)) (add-hook 'scheme-mode-hook (function gambit-mode)) (setq scheme-program-name "gsc -:d-")
If we run gsc instead of gsi, then we can use C-c C-k to compile the file.
-- Siddharth