http://www.shiro.dreamhost.com/scheme/gauche/index-j.html
UNIX USER に特別企画として Gauche の記事があったので,使ってみる.
とりあえず,Emacs の設定.
(setq scheme-program-name "gosh")
(require 'cmuscheme)
(add-hook
'inferior-scheme-mode-hook
'(lambda ()
(set-buffer-process-coding-system
'euc-jp 'euc-jp)))
(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-xS" 'scheme-other-window)
キーバインド
| M-C-Space | カーソルの次の S 式をマーク |
| M-C-a | カーソルを含むトップレベルの S 式の先頭へ |
| M-C-e | カーソルを含むトップレベルの S 式の末尾へ |
| M-C-f | 次の S 式へ |
| M-C-b | 前の S 式へ |
| M-C-t | カーソルの前後の S 式を交換 |
| M-C-d | 1 レベル内側の S 式へ |
| M-C-u | 1 レベル外側の S 式へ |