(show-paren-mode t)
(setq inhibit-startup-message t)
(setq make-backup-files nil)
(setq auto-save-default nil)
(global-set-key "\C-h" 'delete-backward-char)
(setq process-coding-system-alist
(cons '("gosh" utf-8 . utf-8) process-coding-system-alist))
(setq scheme-program-name "C:\\Installed\\Gauche\\bin\\gosh.exe -i")
(autoload 'scheme-mode "cmuscheme" "Major mode for Scheme." t)
(autoload 'run-scheme "cmuscheme" "Run an inferior Scheme process." t)
(defun scheme-other-window ()
"Run Gauche on other window"
(interactive)
(split-window-horizontally 90)
(let ((buf-name (buffer-name (current-buffer))))
(scheme-mode)
(switch-to-buffer-other-window
(get-buffer-create "*scheme*"))
(run-scheme scheme-program-name)
(switch-to-buffer-other-window
(get-buffer-create buf-name))))
(define-key global-map
"\C-cG" 'scheme-other-window)
(defun toggle-fullscreen ()
(interactive)
(set-frame-parameter nil 'fullscreen
(if (frame-parameter nil 'fullscreen)
nil 'fullboth)))
(global-set-key
[f11] 'toggle-fullscreen)
(tool-bar-mode nil)
(setq load-path (cons "~/emacs/lisp" load-path))
(require 'tc-setup)
(put 'downcase-region 'disabled nil)