initial version of bigclean-emacs,from svn to git
[bigclean-emacs.git] / emacs / .emacs.d / config / lisp.el
blobfc7a62eb49697d16d540c2f8f86e19218dbb722d
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2 ;;
3 ;; lisp.el -- lisp(sbcl) and scheme settings
4 ;; Author: Bigclean <zhengjujie@gmail>
5 ;; Time-stamp: <11/14/2009 03:53:56 星期六 by bigclean>
6 ;;
7 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
9 ;; -----------------------------------------------------------------------------
10 ;; lisp settings for slime
11 ;; Note: lisp completetion settings are in c.el.
12 ;; -----------------------------------------------------------------------------
13 ;; (add-to-list 'load-path
14 ;; "~/.emacs.d/lisps/slime")
15 ;; ;; (setq inferior-lisp-program "C:/sbcl/sbcl.exe -core C:/sbcl/sbcl.core")
16 ;; (setq inferior-lisp-program "C:/sbcl/sbcl.exe")
17 ;; (require 'slime)
18 ;; (slime-setup)
19 ;; (setq slime-startup-animation nil)
21 ;; -----------------------------------------------------------------------------
22 ;; auto-indention for elisp
23 ;; If you want automatic indentation, try to use C-j instead of RET for a while.
24 ;; C-j usually runs newline-and-indent.
25 ;; -----------------------------------------------------------------------------
26 ;; Replace lisp-mode-hook with the appropriate hook
27 (add-hook 'lisp-mode-hook '(lambda ()
28 (local-set-key (kbd "RET") 'newline-and-indent)))
30 ;; -----------------------------------------------------------------------------
31 ;;scheme seetings for mzscheme
32 ;; -----------------------------------------------------------------------------
33 ;; (setq scheme-program-name "mzscheme")
34 (require 'quack)
36 ;; -----------------------------------------------------------------------------
37 ;; haskelle mode
38 ;; -----------------------------------------------------------------------------
39 ;; (add-to-list 'load-path
40 ;; "~/.emacs.d/lisps/haskell-mode-2.4")
41 ;; (load "~/.emacs.d/lisp/haskell-mode-2.4/haskell-site-file")
42 ;; (autoload 'haskell-refac-mode "haskell-refac"
43 ;; "Minor mode for refactoring Haskell programs" t)
44 ;; (add-hook 'haskell-mode-hook 'turn-on-font-lock) ; 高亮模式
45 ;; (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) ; 智能缩进模式
46 ;; (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci) ; GHCi 交互模式
47 ;; (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) ; 文档模式
48 ;; (add-hook 'haskell-mode-hook 'haskell-refac-mode) ; 重构
49 ;; (add-hook 'haskell-mode-hook 'hs-lint-mode-hook) ; 代码建议