(setq initial-scratch-message "")
(setq inhibit-startup-message t)
+(setq initial-frame-alist (quote ((fullscreen . maximized))))
+(setq send-mail-function (quote smtpmail-send-it))
+
;; turn OFF syntax highlighting
-; (global-font-lock-mode 0)
+;; (global-font-lock-mode 0)
;; cursor bar
(setq-default cursor-type '(bar . 2))
;; Don't let Emacs hurt your ears
(setq visible-bell t)
-;; This is bound to f11 in Emacs 24.4
-;; (toggle-frame-fullscreen)
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(initial-frame-alist (quote ((fullscreen . maximized))))
- '(org-todo-keywords
- (quote
- ((sequence "TODO(t)" "INPROGRESS(p)" "WAIT(w)" "|" "DONE(d)" "CANCELLED(c)" "REVISIT(r)"))))
- '(send-mail-function (quote smtpmail-send-it)))
-
-(setq org-agenda-files '("~/notes/"))
-
;; Who use the bar to scroll?
(when (display-graphic-p)
(progn
(menu-bar-mode 0)))
;; tangotango
-;; (load-theme 'tangotango t)
+;;(load-theme 'tangotango t)
;; (load-theme 'railscasts t)
-;; (load-theme 'leuven t)
+(load-theme 'leuven t)
;; erc
(require 'erc)
(erc-autojoin-mode t)
(setq erc-autojoin-channels-alist
- '((".*\\.freenode.net" "#hackage" "#tahoe-lafs")
- (".*\\.oftc.net" "#debian-uk" "#debian-in")
- ;; (".*\\.mozilla.org" "#rust-beginners")
+ '((".*\\.freenode.net" "#tahoe-lafs")
+ (".*\\.oftc.net" "#leastauthority")
+ ;;(".*\\.mozilla.org" "#rust-beginners")
))
;; check channels
(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.freenode.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")
- (erc-tls :server "irc.debian.org" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")))
+ (erc-tls :server "irc.oftc.net" :port 6697 :nick "rkrishnan" :full-name "Ramakrishnan Muthukrishnan")))
;; switch to ERC with Ctrl+c e
(global-set-key (kbd "C-c e") 'start-erc) ;; ERC
(require 'haskell-interactive-mode)
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
-(custom-set-variables
- '(haskell-process-suggest-remove-import-lines t)
- '(haskell-process-auto-import-loaded-modules t)
- '(haskell-process-log t))
+(setq haskell-process-suggest-remove-import-lines t)
+(setq haskell-process-auto-import-loaded-modules t)
+(setq haskell-process-log t)
(define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-or-reload)
(define-key haskell-mode-map (kbd "C-`") 'haskell-interactive-bring)
;; flysheck
(add-hook 'after-init-hook #'global-flycheck-mode)
+;; org-mode
+(setq org-todo-keywords
+ '((sequence "TODO(t)" "INPROGRESS(p)" "WAITING(w)" "|" "DONE" "CANCELLED")))
+
+(setq org-agenda-files '("~/src/org/"))
+(add-to-list 'load-path "~/.emacs.d/elisp")
+
+(require 'org-bullets)
+(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
+
+;; key shortcut for org-agenda
+(global-set-key (kbd "C-c a") 'org-agenda)