(require 'package)
(add-to-list 'package-archives
'("melpa" . "http://melpa.milkbox.net/packages/") t)
-(add-to-list 'package-archives
- '("marmalade" . "http://marmalade-repo.org/packages/") t)
+;; (add-to-list 'package-archives
+;; '("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
; fetch the list of packages available
notmuch
railscasts-theme
racket-mode
- auto-complete
+ company-mode
+ flycheck
+ flycheck-haskell
magit
ledger-mode))
(setq erc-autojoin-channels-alist
'((".*\\.freenode.net" "#tahoe-lafs")
(".*\\.oftc.net" "#LeastAuthority")
- (".*\\.mozilla.org" "#rust-beginners")))
+ ;;(".*\\.mozilla.org" "#rust-beginners")
+ ))
;; check channels
(erc-track-mode t)
"Connect to IRC."
(interactive)
(when (y-or-n-p "Do you want to start IRC? ")
- (erc-tls :server "irc.mozilla.org" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
+ ;;(erc-tls :server "irc.mozilla.org" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
(erc-tls :server "irc.freenode.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
(erc-tls :server "irc.oftc.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")))
;; If there is more than one, they won't work right.
)
-;; auto complete
-(ac-config-default)
-(ac-linum-workaround)
+;; company mode for auto completion
+(add-hook 'after-init-hook 'global-company-mode)
;; highlight todo
;; (add-hook 'prog-mode-hook 'highlight-todos)