(setq make-backup-files nil)
(setq initial-scratch-message "")
(setq inhibit-startup-message t)
+
+;; column number
+(column-number-mode 1)
+
;; Don't let Emacs hurt your ears
(setq visible-bell t)
(package-refresh-contents))
;; make sure my list of packages are installed
-(setq package-list '(rust-mode haskell-mode monokai-theme ghc go-mode))
+(setq package-list '(rust-mode haskell-mode monokai-theme ghc slime go-mode))
; install the missing packages
(dolist (package package-list)
(erc-autojoin-mode t)
(setq erc-autojoin-channels-alist
- '((".*\\.freenode.net" "#tahoe-lafs")
+ '((".*\\.freenode.net" "#haskell" "#tahoe-lafs")
(".*\\.oftc.net" "#LeastAuthority")))
;; check channels
;; haskell mode
(setenv "PATH" (concat "~/.cabal/bin:" (getenv "PATH")))
(add-to-list 'exec-path "~/.cabal/bin")
-(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
+(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
+;; (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
;; ocaml
(add-hook 'tuareg-mode-hook 'tuareg-imenu-set-imenu)
;; switch to ERC with Ctrl+c e
(global-set-key (kbd "C-c e") 'start-erc) ;; ERC
+
+;; sbcl
+(setq inferior-lisp-program "/usr/local/bin/sbcl")
+(require 'slime-autoloads)
+(add-to-list 'slime-contribs '(slime-fancy))
+(eval-after-load 'slime
+ `(define-key slime-prefix-map (kbd "M-h") 'slime-documentation-lookup))