My Settings

My .emacs file

steloflute 2014. 4. 24. 10:15

(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.
 '(ansi-color-names-vector
  ["#2d3743" "#ff4242" "#74af68" "#dbdb95" "#34cae2" "#008b8b" "#00ede1" "#e1e1e0"])
 '(column-number-mode t)
 '(cua-mode t nil (cua-base))
 '(current-language-environment "Korean")
 '(custom-enabled-themes (quote (tango-dark)))
 '(indicate-buffer-boundaries (quote left))
 '(inhibit-startup-screen t)
 '(make-backup-files nil)
 '(scheme-program-name "guile")
 '(show-paren-mode t)
 '(size-indication-mode t)
 '(tab-width 2)
 '(text-mode-hook (quote (text-mode-hook-identify))))
(custom-set-faces
 ;; custom-set-faces 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.
 '(default ((t (:family "Consolas" :foundry "outline" :slant normal :weight normal :height 98 :width normal)))))

(ido-mode)
(add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
(add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
(add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)

(require 'package)
(add-to-list 'package-archives
    '("marmalade" .
      "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives
      '("melpa" . "http://melpa.milkbox.net/packages/"))
(package-initialize)

;; load arc.el and auto run arc-mode when file is of .arc extension
(load-file "~/.emacs.d/arc.el")
(add-to-list 'auto-mode-alist '("\\.arc$" . arc-mode))

(global-auto-complete-mode)
(global-rainbow-delimiters-mode)
(add-hook 'prog-mode-hook #'rainbow-identifiers-mode)
(add-hook 'prog-mode-hook #'highlight-symbol-mode)