Gaucheã®ããã®Emacsã®ç°å¢ãæ´ãã
cametanããã«æãã¦è²°ã£ãGaucheã®ããã®Emacsç°å¢ãä½ã£ã¦ã¿ã¾ãããåèã¯ä»¥ä¸ã®Ubuntuãã©ã¼ã©ã ã§ã®cametanããã®ã³ã¡ã³ãã¨ãç§ã®ããã°ã«ã³ã¡ã³ãããã ããå
容ã§ãã
Ubuntu日本語フォーラム / Gaucheがはいりません
Ubuntu 9.04にGauche 0.8.14ではなく0.8.13を入れてみた - ありの日記
ã¾ã以ä¸ã®ãã¡ã¤ã«ããã¦ã³ãã¼ããã¦ã~/.emacs.d/elipsãã£ã¬ã¯ããªã«å ¥ãã¾ãã(ãã£ã¬ã¯ããªããªãå ´åã¯ä½ã£ã¦ããã¾ã)
- quack.el
- scheme-complete-0.8.7.el
scheme-completeã®æ¹ã¯gzã§å§ç¸®ããã¦ããã®ã§è§£åãã¦ãååããscheme-complete-0.8.7.elããããscheme-complete.elãã«ãã¦ããâ~/.emacs.d/elispã¸ç§»åããã¦ããã¾ãã
$ gzip -d scheme-complete-0.8.7.el.gz $ mv scheme-complete-0.8.7.el ~/.emacs.d/elisp/scheme-complete.el
次ã«~/.emacsã«ä»¥ä¸ã®è¨å®ã追å ãã¾ãã~/.emacs.d/elispããã¼ããã¹ã«è¿½å ãã¦ãããªãã¨ã¨ã©ã¼ãåºãã®ã§ä»¥ä¸ã®ã³ã¼ãã®1ã8è¡ç®ã追å ãã¦ãã¾ããããã¯id:Ubuntuããã®ã¨ã³ããªãåèã«ãã¦ãã¾ã(http://d.hatena.ne.jp/Ubuntu/20090501/1241143579)
(defvar default-load-path load-path "*Base of `load-path'. It is used as a default value of target path to search file or subdirectory under load-path.") (setq my-load-path (list "/usr/local/share/emacs/site-lisp" (expand-file-name "~/.emacs.d/elisp"))) (setq load-path (append my-load-path default-load-path)) (require 'quack) (autoload 'scheme-smart-complete "scheme-complete" nil t) (eval-after-load 'scheme '(progn (define-key scheme-mode-map "\e\t" 'scheme-smart-complete))) (autoload 'scheme-get-current-symbol-info "scheme-complete" nil t) (add-hook 'scheme-mode-hook (lambda () (make-local-variable 'eldoc-documentation-function) (setq eldoc-documentation-function 'scheme-get-current-symbol-info) (eldoc-mode)))
ããã¦Emacsãèµ·åã
ã.scmã¨ãããã¡ã¤ã«ãä½ã£ã¦éããç¶æ
ã§
M-x run-schemã¨å
¥åãã¦Enterãæ¼ããã以ä¸ã®å
容ã表示ãããã®ã§ã
Run Scheme (default "mzscheme"):
ããã§goshã¨å
¥åãEnterãæ¼ãã¨Gaucheãèµ·åãã¾ãã
ããã¦ã¨ãã£ã¿ã®é¨åã§ã³ã¼ããå
¥åããC-x C-eã¨å
¥åããã¨ãã«ã¼ã½ã«ã®ããè¡ãå®è¡ãããã¨ããä»çµã¿ãããã¦å®è¡ãããçµæãâãããªæããããããããããã ãã¼ã
cametanãããããã¨ããããã¾ããm(_ _)m
次ã¯kahuaãã¬ã¼ã ã¯ã¼ã¯ã試ãã¦ã¿ããã¼ãã£ã¦ã¡ãã£ã¨è©¦ãã¦ããã ãã©ãä¸æãè¡ã£ã¦ãªãã£ããããã®ã§æ©ãã«ã¨ã³ããªæ¸ãããããããkahuaã£ã¦æè¿æ´»åãã¦ãã®ããªã¼ã