.emacs

(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-faces-vector
   [default default default italic underline success warning error])
 '(column-number-mode t)
 '(current-language-environment "Korean")
 '(custom-enabled-themes (quote (tango-dark)))
 '(ido-everywhere t)
 '(ido-mode (quote both) nil (ido))
 '(transient-mark-mode (quote (only . t))))
(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.
 )
;;코볼파일 구문강조
(autoload 'cobol-mode "cobol-mode" "Major mode for Tandem COBOL files." t nil)
;;velocity파일 구문강조
(autoload 'vtl-mode "vtl-mode" nil t)
(add-hook 'html-mode-hook 'turn-on-vtl-mode t t)
(add-hook 'java-mode-hook 'turn-on-vtl-mode t t)
(add-hook 'xml-mode-hook 'turn-on-vtl-mode t t)
(add-hook 'text-mode-hook 'turn-on-vtl-mode t t)

(when window-system
  ;;기본 창크기
  (set-frame-size (selected-frame) 200 52))
;;org-mode 에서 코드구문강조
(setq org-src-fontify-natively t)
;;기본글꼴, 문자셋
(set-language-environment "Korean")
(set-default-font "NanumGothic_Coding 11")
(set-coding-priority '(coding-category-utf-8))
;;(setq locale-coding-system 'utf-8)
;;(set-selection-coding-system 'utf-8)
;;(prefer-coding-system 'utf-8)
;;한개의 인스턴스만 실행하기
;;실제 파일 오픈할 때는 emacsclientw.exe를 이용한다.
;;.emacs.d/server 폴더의 소유자를 현재 로그인한 사용자로 바꿔준다.
(require 'server)
(unless (server-running-p)
  (server-start))

댓글