From: "andrew cooke" <andrew@...>
Date: Sat, 11 Aug 2007 20:26:53 -0400 (CLT)
Installing gambitc according to the instructions gives the error Unbound variable: compile-file when you try to compile from within emacs. The same error is seen when running gsi from the command line. The solution is to use gsc instead. So the emacs config should look like: (add-to-list 'load-path "...") (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-") Note that the last line differs from the "gsi" given in the docs. Also, you need to start the scheme running (menu option Sheme -> Run Inferior ...) before compiling. Andrew