+(package-initialize)
(show-paren-mode 1)
;; y-or-n instead of yes-or-no
(defalias 'yes-or-no-p 'y-or-n-p)
;; If there is more than one, they won't work right.
'(initial-frame-alist (quote ((fullscreen . maximized))))
'(send-mail-function (quote smtpmail-send-it)))
+
;; Who use the bar to scroll?
(when (display-graphic-p)
(progn
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
;; haskell mode
-(require 'haskell-interactive-mode)
(require 'haskell-process)
+(require 'haskell-interactive-mode)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(custom-set-variables
;; addressbook
(require 'notmuch-address)
(setq notmuch-address-command "/usr/bin/notmuch-addrlookup")
-(notmuch-address-message-insinuate)
+;;(notmuch-address-message-insinuate)
(require 'smtpmail)
(setq message-send-mail-function 'smtpmail-send-it)
; my-packages.el
(require 'package)
+
+(defconst emacs-d
+ (file-name-directory
+ (file-chase-links load-file-name))
+ "The giant turtle on which the world rests.")
+
+(setq package-user-dir
+ (expand-file-name "elpa" emacs-d))
+
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
(add-to-list 'package-archives
- '("marmalade" . "http://marmalade-repo.org/packages/") t)
+ '("gnu" . "http://elpa.gnu.org/packages/") t)
(package-initialize)
; fetch the list of packages available
-(unless package-archive-contents
- (package-refresh-contents))
+(package-refresh-contents)
;; make sure my list of packages are installed
(setq package-list '(go-mode
racket-mode
auto-complete
magit
- ledger-mode))
+ ledger-mode
+ company
+ company-ghc))
; install the missing packages
(dolist (package package-list)