-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.el
198 lines (186 loc) · 7.89 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Jaemok Jeong's Emacs Environment
;; Jaemok Jeong <jmjeong@gmail.com>
;; http://jmjeong.com
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defcustom elisp-root-dir "~/my-dot-emacs"
"The root directory where elisp is installed")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Library Path
;;
;; Note: All emacs configraiton is underneath 'elisp-root-dir'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-to-list 'load-path elisp-root-dir)
(add-to-list 'load-path (concat elisp-root-dir "/auto-install"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/bbdb"))
;; (add-to-list 'load-path (concat elisp-root-dir "/vendor/yasnippet"))
;; (add-to-list 'load-path (concat elisp-root-dir "/vendor/emacs-w3m"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/pylookup"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/auctex"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/auctex/preview"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/nxhtml"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/git-modes"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/magit"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/org-toodledo"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/org2blog"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/org-mode/lisp"))
(add-to-list 'load-path (concat elisp-root-dir "/vendor/pydoc-info-0.2"))
;; Add all top-level subdirectories of my-dot-emacs
;; (progn (cd "~/my-dot-emacs")
;; (load "subdirs"))
;; add-to-list emacs lisp package archive directory
(let ((default-directory (concat elisp-root-dir "/vendor/elpa")))
(load "subdirs"))
(require 'emacs-type)
(require 'cl)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 자주 쓰이는 파일에 대한 접근 Key정의
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(load-library "jmjeong-shortcut")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; password : real-passwd는 다른곳에 보관
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(load-library "jmjeong-passwd")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; 한글 세팅
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(load-library "jmjeong-hangul")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; customization
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(load-library "jmjeong-system") ; system depedent setting
(load-library "jmjeong-func") ; jmjeong's local function def
(load-library "jmjeong-key") ; local key binding
;; (load-library "jmjeong-filecache") ; file cache
(load-library "jmjeong-elpa") ; emacs lisp package archive
;(load-library "jmjeong-cedet") ; cedet
;(load-library "jmjeong-icicles") ; icicles
(load-library "jmjeong-visual") ; visual apperance
(load-library "jmjeong-icomplete") ; icomplte, buffer setting
;(load-library "jmjeong-ido") ; ido mode
(load-library "jmjeong-doxymacs") ; doxymacs
(load-library "jmjeong-xcscope") ; xcscope
(load-library "jmjeong-cprog") ; c programming
(load-library "jmjeong-package")
(load-library "jmjeong-graphviz")
(load-library "jmjeong-calendar") ; lunar calendar and diary stuff
;(load-library "jmjeong-objc") ; objective-cc
(load-library "jmjeong-python") ; python
(load-library "jmjeong-git") ; git
(load-library "jmjeong-maxframe") ; maxframe
(load-library "jmjeong-autocomplete") ; auto-complete
;; (load-library "jmjeong-w3m") ; w3m
(load-library "jmjeong-bbdb") ; bbdb
(load-library "jmjeong-php") ; php
(load-library "jmjeong-gnus") ; gnus
(load-library "jmjeong-org") ; org-mode
;(load-library "jmjeong-howm") ; howm
(load-library "jmjeong-tempbuf") ; tempbuf
(load-library "jmjeong-redo") ; redo
(load-library "jmjeong-psvn") ; psvn
(load-library "jmjeong-tuareg") ; tuareg
; (load-library "jmjeong-yasnippet") ; yasnippet
(load-library "jmjeong-markdown") ; markdown-mode
(load-library "jmjeong-android") ; android
(load-library "jmjeong-dired") ; dired
(load-library "jmjeong-twitter") ; twitter
(load-library "jmjeong-recentf") ; recentf
(load-library "jmjeong-gtags") ; gtags
(load-library "jmjeong-winmove") ; winmove
(load-library "jmjeong-anything") ; anything
(load-library "jmjeong-gist") ; gist
(load-library "jmjeong-dictionary") ; dictionary
(load-library "jmjeong-tracwiki") ; tracwiki
(load-library "jmjeong-devonthink") ; devonthink
(load-library "jmjeong-wordpress") ; org2blog package
(load-library "jmjeong-template") ; template mode
(load-library "jmjeong-auctex") ; auctex
(load-library "jmjeong-jekyll") ; jekyll
(load-library "jmjeong-etc") ; rainbow
(load-library "jmjeong-django-html") ; django-html mode
;(load-library "jmjeong-nxhtml") ; nxhtml
(load-library "jmjeong-autoinstall") ; auto-install
(load-library "jmjeong-jade") ; jade-mode
(server-start)
(garbage-collect)
(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.
'(canlock-password "154f9f29ee266ade1cca710c233702480de625f0")
'(display-time-mode t)
'(fringe-mode (quote (5 . 5)) nil (fringe))
'(git-baseline-commit
(quote
(("/Users/jmjeong/t/blogofile.com/" . "blogofile.com"))) t)
'(mm-charset-override-alist
(quote
((gb2312 . gbk)
(iso-8859-1 . windows-1252)
(iso-8859-8 . windows-1255)
(iso-8859-9 . windows-1254)
(x-windows-949 . euc-kr)
(unicode-1-1-utf-7 . utf-8))))
'(org-agenda-files (quote ("~/workspace/journal/org/todo.org")))
'(org-agenda-ndays 7)
'(org-agenda-show-all-dates t)
'(org-agenda-skip-deadline-if-done t)
'(org-agenda-skip-scheduled-if-done t)
'(org-agenda-start-on-weekday nil)
'(org-deadline-warning-days 14)
'(org-default-notes-file (concat org-agenda-directory "/notes.org"))
'(org-emphasis-regexp-components
(quote
(" ('\"{" "- .,:!?;'\")}[:multibyte:]" "
,\"'" "." 1)) t)
'(org-export-backends (quote (ascii html icalendar latex md)))
'(org-export-html-style-include-scripts nil)
'(org-export-with-date nil)
'(org-export-with-tags nil)
'(org-export-with-timestamps nil)
'(org-export-with-toc nil)
'(org-fast-tag-selection-single-key (quote expert))
'(org-mobile-directory "/Volumes/jmjeong/org")
'(org-mobile-files
(quote
(org-agenda-files org-agenda-text-search-extra-files)))
'(org-mobile-inbox-for-pull "~/workspace/journal/org/from-org.org")
'(org-remember-store-without-prompt t)
'(org-remember-templates
(\`
((110 "* %u %?"
(\,
(concat org-agenda-directory "notes.org"))
"Notes")
(116 "* TODO %?
%u"
(\,
(concat org-agenda-directory "todo.org"))
"Tasks"))))
'(org-reverse-note-order t)
;; '(package-archives
;; (quote
;; (("marmalade" . "http://marmalade-repo.org/packages/")
;; ("melpa-stable" . "https://stable.melpa.org/packages/")
;; ("melpa" . "http://melpa.milkbox.net/packages/")
;; ("gnu" . "http://elpa.gnu.org/packages/"))))
'(safe-local-variable-values
(quote
((TeX-master . t)
(dired-omit-extensions ".html")
(dired-omit-mode . t)
(dired-actual-switches . "-lat"))))
'(scroll-bar-mode nil)
'(semantic-java-dependency-system-include-path
(quote
("/Users/jmjeong/android/1.6_r1.4src/framework/base/core/java/")))
'(show-paren-mode t))
(put 'narrow-to-region 'disabled nil)
(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.
'(diary ((t (:foreground "darkred")))))