]> gitweb @ CieloNegro.org - sugar.git/blob - dot-files/_emacs_el
Auto commit by The Sugar System.
[sugar.git] / dot-files / _emacs_el
1 ;; -*- Mode: emacs-lisp; Coding: utf-8 -*-
2
3 ;; Added by Package.el.  This must come before configurations of
4 ;; installed packages.  Don't delete this line.  If you don't want it,
5 ;; just comment it out by adding a semicolon to the start of the line.
6 ;; You may delete these explanatory comments.
7 (package-initialize)
8
9 ;; Load paths -----------------------------------------------------------------
10 (add-to-list 'load-path (expand-file-name "~/.elisp"))
11 (add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
12
13 ;; Setting for encodings of the environment -----------------------------------
14 (set-locale-environment "en_US.UTF-8")
15 (set-default-coding-systems 'utf-8)
16 (set-terminal-coding-system 'utf-8)
17 (setq default-file-name-coding-system 'utf-8)
18 (set-keyboard-coding-system 'utf-8)
19 (set-clipboard-coding-system 'utf-8)
20
21 ;; Settings for the Emacs itself ----------------------------------------------
22 (setq truncate-partial-width-windows t)
23 (setq make-backup-files nil)
24
25 (setq read-file-name-completion-ignore-case t)
26 (tool-bar-mode nil)
27
28 (global-set-key (kbd "C-\\" ) 'toggle-input-method)
29 (global-set-key (kbd "C-RET") 'completion-at-point)
30 (global-set-key (kbd "C-<return>") 'completion-at-point)
31
32 (unless window-system
33   (normal-erase-is-backspace-mode t))
34
35 (setq-default tab-width 4)
36 (global-font-lock-mode t)
37
38 (auto-compression-mode t)
39 (which-function-mode t)
40 (setq visible-bell t)
41 (setq ring-bell-function (lambda ()))
42
43 (require 'server)
44 (if (server-running-p)
45     (message "Warning: server %S is already running." server-name)
46   (server-start))
47
48 ;; windmove
49 (windmove-default-keybindings)
50
51 ;; file renaming
52 ;; Originally from stevey, adapted to support moving to a new directory.
53 (defun rename-file-and-buffer (new-name)
54   "Renames both current buffer and file it's visiting to NEW-NAME."
55   (interactive
56    (progn
57      (if (not (buffer-file-name))
58          (error "Buffer '%s' is not visiting a file!" (buffer-name)))
59      ;; Disable ido auto merge since it too frequently jumps back to the original
60      ;; file name if you pause while typing. Reenable with C-z C-z in the prompt.
61      (let ((ido-auto-merge-work-directories-length -1))
62        (list (read-file-name (format "Rename %s to: " (file-name-nondirectory
63                                                        (buffer-file-name))))))))
64   (if (equal new-name "")
65       (error "Aborted rename"))
66   (setq new-name (if (file-directory-p new-name)
67                      (expand-file-name (file-name-nondirectory
68                                         (buffer-file-name))
69                                        new-name)
70                    (expand-file-name new-name)))
71   ;; Only rename if the file was saved before. Update the
72   ;; buffer name and visited file in all cases.
73   (if (file-exists-p (buffer-file-name))
74       (rename-file (buffer-file-name) new-name 1))
75   (let ((was-modified (buffer-modified-p)))
76     ;; This also renames the buffer, and works with uniquify
77     (set-visited-file-name new-name)
78     (if was-modified
79         (save-buffer)
80       ;; Clear buffer-modified flag caused by set-visited-file-name
81       (set-buffer-modified-p nil)))
82
83   (setq default-directory (file-name-directory new-name))
84
85   (message "Renamed to %s." new-name))
86
87 ;; Host specific configuration ------------------------------------------------
88 (let ((host (system-name)))
89   (cond ((equal host "aria.cielonegro.org")
90          (progn
91            ;; Use firefox as the default browser.
92            (setq browse-url-firefox-program "/usr/pkg/bin/firefox")
93            ;; Specify how to connect to some of the remote servers.
94            (setq tramp-default-proxies-alist nil)
95            (mapcar #'(lambda (proxy)
96                        (add-to-list 'tramp-default-proxies-alist proxy))
97             '( ("rd8"                                 nil "/sshx:pho@seras.vpn.cielonegro.org:")
98                ("pho\\.dev\\.office\\.ymir\\.co\\.jp" nil "/sshx:pho@seras.vpn.cielonegro.org:")
99                ))))))
100
101 ;; Settings for Browser --------------------------------------------------------
102 (global-set-key "\C-xm" 'browse-url-at-point)
103
104 ;; Setting for the Mode Line ---------------------------------------------------
105 (line-number-mode t)
106 (column-number-mode t)
107 (display-time)
108
109 ;; Setting for Frames ----------------------------------------------------------
110 (when window-system
111   (let ((host (system-name)))
112     (cond ((equal host "kurumi.cielonegro.org")
113            (set-frame-font "Andale Mono 14"))
114
115           ((equal host "seras")
116            (set-frame-font "Dejavu Sans Mono 11" t))
117
118           ((equal host "yukari.cielonegro.org")
119            (set-frame-font "Dejavu Sans Mono 11" t)))))
120
121 ;; Setting for Packages --------------------------------------------------------
122 (defun require-if-present (feature)
123   (condition-case e
124       (require feature)
125     (file-error
126      (if (equal (cadr e) "Cannot open load file")
127          (message "Warning: feature %s is absent" feature) ; warn and ignore
128        (apply 'signal (car e) (cdr e)))))) ; rethrow
129
130 (defun load-if-present (file)
131   (condition-case e
132       (load file)
133     (file-error
134      (if (equal (cadr e) "Cannot open load file")
135          (message "Warning: file named %s is absent" file) ; warn and ignore
136        (apply 'signal (car e) (cdr e)))))) ; rethrow
137
138 (defun load-file-if-present (path)
139   (if (file-exists-p path)
140       (load-file path)
141     (message "Warning: file %s is absent" path)))
142
143 ;; cmake
144 (autoload 'cmake-mode "cmake-mode" nil t)
145 (add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode))
146 (add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode))
147
148 ;; ditz
149 (require-if-present 'ditz)
150
151 ;; flycheck
152 (require-if-present 'flycheck)
153 ;(if (featurep 'flycheck)
154 ;    (global-flycheck-mode))
155
156 (require-if-present 'flycheck-inline)
157 (if (featurep 'flycheck-inline)
158     (with-eval-after-load 'flycheck
159       (add-hook 'flycheck-mode-hook #'flycheck-inline-mode)))
160
161 ;; flyspell
162 (require-if-present 'flyspell)
163
164 ;; glsl
165 (autoload 'glsl-mode "glsl-mode" nil t)
166 (add-to-list 'auto-mode-alist '("\\.glsl\\'" . glsl-mode))
167 (add-to-list 'auto-mode-alist '("\\.vert\\'" . glsl-mode))
168 (add-to-list 'auto-mode-alist '("\\.frag\\'" . glsl-mode))
169 (add-to-list 'auto-mode-alist '("\\.geom\\'" . glsl-mode))
170
171 ;; hengband-pickpref
172 (autoload 'hengband-pickpref-mode "hengband-pickpref-mode" nil t)
173
174 ;; jaspace
175 (require-if-present 'jaspace)
176
177 ;; json
178 (require-if-present 'json-par)
179 (if (featurep 'json-par)
180     (add-hook 'json-mode-hook #'json-par-mode))
181
182 ;; pkgdiff
183 (add-to-list 'load-path "~/sandbox/_editors/emacs-pkgdiff")
184 (autoload 'pkgvi "pkgdiff" "Edit a copy of specified file." t)
185 (autoload 'pkgdiff "pkgdiff" "Show differences from a backup file." t)
186
187 ;; rust
188 (autoload 'rust-mode "rust-mode" nil t)
189 (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))
190
191 (require-if-present 'flycheck-rust)
192 (if (featurep 'flycheck-rust)
193     (with-eval-after-load 'rust-mode
194       (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)))
195
196 ;; session
197 (require-if-present 'session)
198 (if (featurep 'session)
199     (session-initialize))
200
201 ;; mediawiki
202 (require-if-present 'mediawiki)
203
204 ;; midnight
205 (require-if-present 'midnight)
206
207 ;; multi-term
208 (autoload 'multi-term "multi-term"
209   "Create new term buffer.
210 Will prompt you shell name when you type `C-u' before this command." t)
211
212 ;; auto-complete
213 (require-if-present 'auto-complete-config)
214 (if (featurep 'auto-complete-config)
215     (progn
216       (add-to-list 'ac-dictionary-directories
217                    "/usr/pkg/share/emacs/site-lisp/auto-complete/ac-dict")
218       (mapcar (lambda (mode)
219                 (add-to-list 'ac-modes mode))
220               '(autoconf-mode
221                 erlang-mode
222                 sql-mode))
223       (setq ac-modes (remove 'css-mode ac-modes))
224       (add-hook 'erlang-mode-hook
225                 (lambda ()
226                   (add-to-list 'ac-sources 'ac-source-semantic)))
227       (ac-config-default)))
228
229 ;; mic-paren
230 (require-if-present 'mic-paren)
231 (if (featurep 'mic-paren)
232     (paren-activate))
233
234 ;; elscreen
235 (require-if-present 'elscreen)
236 (require-if-present 'elscreen-w3m)
237 (if (featurep 'elscreen)
238     (elscreen-start))
239
240 ;; undo-tree
241 (require-if-present 'undo-tree)
242 (if (featurep 'undo-tree)
243     (global-undo-tree-mode))
244
245 ;; MPC
246 ;(require-if-present 'mpc-autoloads)
247
248 ;; rst-mode
249 (autoload 'rst-mode "rst"
250   "mode for editing reStructuredText documents" t)
251 (setq auto-mode-alist
252       (append '(("\\.rst$" . rst-mode)
253                 ("\\.rest$" . rst-mode)) auto-mode-alist))
254
255 ;; graphviz-dot-mode
256 (autoload 'graphviz-dot-mode "graphviz-dot-mode"
257   "Major mode for the dot language." t)
258 (add-to-list 'auto-mode-alist '("\\.dot\\'" . graphviz-dot-mode))
259 (add-to-list 'auto-mode-alist '("\\.gv\\'" . graphviz-dot-mode))
260
261 ;; textile-mode
262 (autoload 'textile-mode "textile-mode"
263   "Major mode for editing Textile documents." t)
264 (add-to-list 'auto-mode-alist '("\\.textile\\'" . textile-mode))
265
266 ;; xsltxt-mode
267 (autoload 'xsltxt-mode "xsltxt-mode" "Major mode for xsltxt." t)
268 (add-to-list 'auto-mode-alist '("\\.xsltxt$" . xsltxt-mode))
269
270 ;; lua-mode
271 (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
272 (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
273
274 ;; projectile-mode
275 (require-if-present 'projectile)
276 (if (featurep 'projectile)
277     (progn
278       (projectile-mode +1)
279       (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)))
280
281 ;; protobuf-mode
282 (autoload 'protobuf-mode "protobuf-mode")
283 (add-to-list 'auto-mode-alist '("\\.proto\\'" . protobuf-mode))
284
285 ;; scala-mode2
286 (add-to-list 'load-path "~/sandbox/_scala/scala-mode2")
287 (require-if-present 'scala-mode2)
288
289 ;; sbt-mode
290 (add-to-list 'load-path "~/sandbox/_scala/sbt-mode")
291 (require-if-present 'sbt-mode)
292
293 ;; twittering-mode
294 (require-if-present 'twittering-mode)
295 (setq twittering-username "phonohawk")
296
297 ;; riece
298 (autoload 'riece "riece" "Start Riece" t)
299 (add-hook 'riece-after-load-startup-hook
300           #'(lambda ()
301               (add-to-list 'riece-addons 'riece-alias)
302               (add-to-list 'riece-addons 'riece-skk-kakutei)
303               (add-to-list 'riece-addons 'riece-keyword)
304               (add-to-list 'riece-addons 'riece-ctlseq)))
305
306 ;; CEDET
307 (add-to-list 'load-path "/usr/pkg/share/emacs/cedet/common")
308 (require-if-present 'cedet)
309
310 ;; ECB
311 (require-if-present 'ecb-autoloads)
312 (let* ((hosts '( ("yukari.cielonegro.org" .
313                   ( ("~/sandbox/_games/acid-rain" "acid rain")
314                     ("~/sandbox/_games/Natural-Mystic-Shaders" "Natural Mystic")
315                     ))))
316        (paths (cdr (assoc (system-name) hosts))))
317   (setq ecb-source-path paths))
318
319 ;; leim
320 (require-if-present 'gaelic)
321
322 ;; rnc-mode
323 (autoload 'rnc-mode "rnc-mode")
324 (add-to-list 'auto-mode-alist '("\\.rnc\\'" . rnc-mode))
325
326 ;; bookmark
327 (setq bookmark-sort-flag nil)
328
329 ;; sudoku
330 (autoload 'sudoku "sudoku" "The Sudoku" t)
331
332 ;; mew
333 (autoload 'mew "mew" "Mew" t)
334
335 ;; cleite
336 (autoload 'cleite "cleite" "Cleite RSS Aggregator -- Emacs Interface" t)
337
338 ;; javascript
339 (add-to-list 'auto-mode-alist '("\\.js\\'" . javascript-mode))
340
341 ;; typescript
342 (autoload 'typescript-mode "typescript-mode"
343   "Major mode for editing typescript." t)
344 (add-to-list 'auto-mode-alist '("\\.ts$" . typescript-mode))
345
346 ;; vimrc
347 (autoload 'vimrc-mode "vimrc-mode"
348   "Major mode for editing `.vimrc', `xxx.vim' and `.exrc' files." t)
349 (add-to-list 'auto-mode-alist '("\\.vim\\(rc\\)?$" . vimrc-mode))
350
351 ;; ido
352 (require 'ido)
353 (ido-mode t)
354
355 ;; sokoban
356 (autoload 'sokoban "sokoban.el" "Start a new game of Sokoban." t)
357 (autoload 'sokoban-mode "sokoban.el" "Play Sokoban in current buffer." t)
358 (setq sokoban-playerfiles-dir "/usr/local/var/games/emacs-sokoban")
359
360 ;; nXML
361 (load-file-if-present "/usr/pkg/share/emacs/site-lisp/nxml-mode/rng-auto.el")
362 (defalias 'xml-mode 'nxml-mode)
363 (add-to-list 'auto-mode-alist '("\\.xml$" . nxml-mode))
364 (add-to-list 'auto-mode-alist '("\\.xi$" . nxml-mode))
365 (add-to-list 'auto-mode-alist '("\\.rdf$" . nxml-mode))
366 (add-to-list 'auto-mode-alist '("\\.rng$" . nxml-mode))
367
368 ;; sstp
369 (autoload 'sstp-mode "sstp" "SSTP Editing Major-Mode" t)
370
371 ;; ruby-mode
372 (autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files")
373 (setq auto-mode-alist
374       (append '(("\\.rb$" . ruby-mode)) auto-mode-alist))
375 (setq interpreter-mode-alist (append '(("ruby" .ruby-mode))
376                                      interpreter-mode-alist))
377 (autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process")
378 (autoload 'inf-ruby-keys "inf-ruby" "set local key defs for inf-ruby in ruby-mode")
379 (add-hook 'ruby-mode-hook
380           '(lambda ()
381             (inf-ruby-keys)
382           ))
383
384 ;; Haskell
385 (autoload 'haskell-mode "haskell-mode"
386   "Major mode for editing Haskell scripts." t)
387 (autoload 'literate-haskell-mode "haskell-mode"
388   "Major mode for editing literate Haskell scripts." t)
389
390 (autoload 'run-haskell "inf-haskell" "" t)
391 (autoload 'switch-to-haskell "inf-haskell" "" t)
392 (autoload 'inferior-haskell-load-file "inf-haskell" "" t)
393 (autoload 'inferior-haskell-type "inf-haskell" "" t)
394 (autoload 'inferior-haskell-info "inf-haskell" "" t)
395 (autoload 'inferior-haskell-find-definition "inf-haskell" "" t)
396 (autoload 'inferior-haskell-find-haddock "inf-haskell" "" t)
397
398 (add-to-list 'auto-mode-alist '("\\.hs$" . haskell-mode))
399 (add-to-list 'auto-mode-alist '("\\.hsc$" . haskell-mode))
400
401 (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
402 (add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
403 (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci)
404
405 ;(add-hook 'haskell-mode-hook #'flycheck-haskell-setup)
406
407 (load-if-present "~/sandbox/_input-method/emacs-haskell-unicode-input-method/haskell-unicode-input-method")
408  (add-hook 'haskell-mode-hook
409    (lambda () (set-input-method "haskell-unicode")))
410
411 ;; Hoogle
412 (autoload 'hoogle-lookup "hoogle" "Hoogle" t)
413 (global-set-key (kbd "C-c h") 'hoogle-lookup)
414
415 ;; c-mode
416 (mapcar (lambda (hook)
417       (add-hook hook
418             (lambda () (c-set-style "user"))))
419     '(c-mode-hook
420       c++-mode-hook
421       objc-mode-hook
422       java-mode-hook))
423
424 ;; EmacsWiki
425 (autoload 'emacs-wiki-find-file "emacs-wiki" "Emacs Wiki" t)
426 (defalias 'wiki 'emacs-wiki-find-file)
427
428 ;; cperl
429 (defalias 'perl-mode 'cperl-mode)
430 (setq cperl-indent-level 4)
431 (setq cperl-indent-parens-as-block t)
432
433 ;; Erlang
434 (require-if-present 'erlang-start)
435 (setq erlang-electric-commands nil)
436
437 ;; SKK
438 (require-if-present 'skk-autoloads)
439 (if (featurep 'skk-autoloads)
440         (progn
441           (require-if-present 'skk-study)
442           (global-set-key "\C-x\C-j" 'skk-mode)
443           (global-set-key "\C-xj" 'skk-auto-fill-mode)
444           (global-set-key "\C-xt" 'skk-tutorial)
445           (setq skk-use-jisx0201-input-method t)
446           (setq skk-rom-kana-rule-list
447                         '(("@" nil "@")
448                           ("wi" nil ("ヰ" . "ゐ"))
449                           ("we" nil ("ヱ" . "ゑ"))
450                           ;;("hh" "h" ("ン" . "ん"))
451                           ;;("mm" "m" ("ン" . "ん"))
452                           ("zx" nil ("ゝ" . "ヽ"))
453                           ("zc" nil ("ゞ" . "ヾ"))))
454           (set-input-method 'japanese-skk))) ; INPUT METHOD
455
456 ;; navi2ch
457 (autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs" t)
458
459 ;; migemo
460 ;(require-if-present 'migemo)
461 ;(setq migemo-isearch-enable-p nil)
462
463 ;; tiarra-conf
464 (setq load-path (cons (expand-file-name "~/sandbox/Tiarra") load-path))
465 (autoload 'tiarra-conf-mode "tiarra-conf" "tiarra.conf editing mode" t)
466
467 ;; po-mode
468 (autoload 'po-mode "po-mode")
469 (setq auto-mode-alist
470       (cons '("\\.po[tx]?\\'\\|\\.po\\." . po-mode)
471         auto-mode-alist))
472
473 ;; csv-mode
474 (autoload 'csv-mode "csv-mode"
475   "Major mode for editing comma-separated value files." t)
476 (add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode))
477
478 ;; tsv-mode
479 (autoload 'tsv-mode "tsv-mode" "A mode to edit table like file" t)
480 (autoload 'tsv-normal-mode "tsv-mode" "A minor mode to edit table like file" t)
481 (setq tsv-write-annotation nil)
482 (setq tsv-separator-list '("\t"))
483 ;(add-to-list 'auto-mode-alist '("\\.[Tt][Ss][Vv]\\'" . tsv-mode))
484
485 ;; markdown-mode
486 ;; http://jblevins.org/projects/markdown-mode/
487 (autoload 'markdown-mode "markdown-mode.el" "Major mode for editing Markdown files" t)
488 (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
489
490 ;; yaml-mode
491 (autoload 'yaml-mode "yaml-mode"
492   "Major mode for editing YAML files." t)
493 (add-to-list 'auto-mode-alist '("\\.ya?ml$"  . yaml-mode))
494
495 ;; less-css-mode
496 (autoload 'less-css-mode "less-css-mode" "Major mode for editing LESS files" t)
497 (add-to-list 'auto-mode-alist '("\\.less\\'" . less-css-mode))
498
499 ;; Troublesome Tasks
500 (if (equal (system-name) "seras")
501     (progn
502       (defun edit-troublesome-tasks ()
503         (interactive)
504         (elscreen-create)
505         (find-file (expand-file-name "~/var/troublesome-tasks.txt")))
506       (define-key ctl-x-map "MT" #'edit-troublesome-tasks)))
507
508 ;; ChangeLog
509 (setq user-full-name "PHO")
510 (setq user-mail-address "pho@cielonegro.org")
511
512 (defun memo ()
513   (interactive)
514   (add-change-log-entry nil (expand-file-name "~/sync/memo.txt")))
515 (define-key ctl-x-map "MM" #'memo)
516
517 (defun depression ()
518   (interactive)
519   (add-change-log-entry nil (expand-file-name "~/sync/depression.txt")))
520 (define-key ctl-x-map "MD" #'depression)
521
522 (defun plant ()
523   (interactive)
524   (add-change-log-entry nil (expand-file-name "~/sync/plant.txt")))
525 (define-key ctl-x-map "MP" #'plant)
526
527 (defun robinson ()
528   (interactive)
529   (elscreen-create)
530   (find-file (expand-file-name "~/sync/good-things.txt"))
531   (split-window-horizontally)
532   (next-window)
533   (find-file (expand-file-name "~/sync/bad-things.txt"))
534   (next-window))
535 (define-key ctl-x-map "MR" #'robinson)
536
537 ;; Emacs Calc
538 (add-hook 'calc-start-hook
539           (lambda ()
540             (if (functionp 'paren-deactivate)
541                 (paren-deactivate))))
542 (add-hook 'calc-end-hook
543           (lambda ()
544             (if (functionp 'paren-activate)
545                 (paren-activate))))
546
547 ;;; emacs-w3m
548 (autoload 'w3m "w3m" "Interface for w3m on Emacs." t)
549 (autoload 'w3m-browse-url "w3m" "Browse url by w3m." t)
550 (autoload 'w3m-find-file "w3m" "w3m interface function for local file." t)
551 (autoload 'w3m-search "w3m-search" "Search QUERY using SEARCH-ENGINE." t)
552 (autoload 'w3m-weather "w3m-weather" "Display weather report." t)
553 (autoload 'w3m-antenna "w3m-antenna" "Report chenge of WEB sites." t)
554 (autoload 'w3m-namazu "w3m-namazu" "Search files with Namazu." t)
555
556 ;; pov-mode
557 (autoload 'pov-mode "pov-mode" "POV-Ray scene file mode" t)
558 (setq auto-mode-alist
559       (append '(("\\.pov$" . pov-mode)
560                 ("\\.inc$" . pov-mode)
561                 ) auto-mode-alist))
562
563 ;; End of user configuration ---------------------------------------------------
564
565 ;; emacs auto edit
566 (put 'narrow-to-region 'disabled nil)
567 (custom-set-variables
568  ;; custom-set-variables was added by Custom.
569  ;; If you edit it by hand, you could mess it up, so be careful.
570  ;; Your init file should contain only one such instance.
571  ;; If there is more than one, they won't work right.
572  '(ac-ignore-case nil)
573  '(appt-display-format (quote window))
574  '(appt-message-warning-time 20)
575  '(browse-url-browser-function (quote browse-url-firefox))
576  '(canlock-password "a14fa4d2601465d55585c291fa8b3943e189e716")
577  '(cl-old-struct-compat-mode t)
578  '(clean-buffer-list-delay-general 7)
579  '(cleite:auto-refresh-interval nil)
580  '(cleite:measure-srpc-call-time t)
581  '(column-number-mode t)
582  '(compilation-scroll-output (quote first-error))
583  '(completion-ignored-extensions
584    (quote
585     (".svn/" "CVS/" ".o" "~" ".bin" ".lbin" ".so" ".a" ".ln" ".blg" ".bbl" ".elc" ".lof" ".glo" ".idx" ".lot" ".dvi" ".fmt" ".tfm" ".pdf" ".class" ".fas" ".lib" ".mem" ".x86f" ".sparcf" ".fasl" ".ufsl" ".fsl" ".dxl" ".pfsl" ".dfsl" ".lo" ".la" ".gmo" ".mo" ".toc" ".aux" ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs" ".pyc" ".pyo" ".hi")))
586  '(cperl-merge-trailing-else nil)
587  '(csv-align-style (quote auto))
588  '(custom-enabled-themes (quote (gnome2)))
589  '(custom-safe-themes
590    (quote
591     ("64affc3597b4271ba6b0b428777d616cfb20d8f7f147dbd00f1de220b2b59bbf" "06e0662b31a2ae8da5c6b5e9a05b25fabd1dc8dd3c3661ac194201131cafb080" default)))
592  '(default-frame-alist
593     (quote
594      ((tool-bar-lines . 0)
595       (menu-bar-lines . 1)
596       (width . 80)
597       (height . 25)
598       (right-fringe)
599       (left-fringe))))
600  '(display-time-mode t)
601  '(ditz-find-issue-directory-automatically-flag t)
602  '(ecb-add-path-for-not-matching-files (quote (t)))
603  '(ecb-help-info-path "/usr/pkg/info/ecb.info")
604  '(ecb-layout-name "left7")
605  '(ecb-options-version "2.50")
606  '(ecb-show-sources-in-directories-buffer (quote always))
607  '(ecb-tip-of-the-day nil)
608  '(ecb-tree-buffer-style (quote image))
609  '(ecb-windows-width 0.2)
610  '(electric-indent-mode nil)
611  '(elscreen-display-tab t)
612  '(global-undo-tree-mode t)
613  '(global-whitespace-mode t)
614  '(graphviz-dot-auto-indent-on-newline nil)
615  '(graphviz-dot-auto-indent-on-semi nil)
616  '(haskell-program-name "ghci")
617  '(ido-enable-flex-matching t)
618  '(ido-everywhere t)
619  '(ido-ignore-files
620    (quote
621     ("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./" "\\.ttc")))
622  '(ido-mode (quote both) nil (ido))
623  '(ido-work-directory-list-ignore-regexps (quote ("^\\(/mnt/ibm/\\|/Volumes/IBM80GB/\\)")))
624  '(indent-tabs-mode nil)
625  '(ispell-dictionary "english")
626  '(jabber-nickname "PHO")
627  '(jabber-resource "emacs")
628  '(jabber-server "jabber.jp")
629  '(jabber-username "phonohawk")
630  '(js2-auto-indent-flag nil)
631  '(js2-basic-offset 4)
632  '(js2-indent-on-enter-key nil)
633  '(js2-mirror-mode nil)
634  '(js2-use-font-lock-faces t)
635  '(lua-indent-level 4)
636  '(makefile-mode-hook (quote ((lambda nil (set-variable (quote tab-width) 8)))))
637  '(markdown-live-preview-delete-export (quote delete-on-export))
638  '(mediawiki-site-alist
639    (quote
640     (("Wikipedia" "http://en.wikipedia.org/w/" "username" "password" "Main Page"))))
641  '(mew-field-spec
642    (quote
643     (("^Resent-\\(From\\|To\\|Cc\\|Date\\)" t mew-face-header-important mew-face-header-important)
644      ("^Subject:$" t mew-face-header-important mew-face-header-subject)
645      ("^From:$" t mew-face-header-important mew-face-header-from)
646      ("^\\(To\\|Apparently-To\\):$" t mew-face-header-important mew-face-header-to)
647      ("^\\(Cc\\|Dcc\\|Bcc\\):$" t mew-face-header-important mew-face-header-to)
648      ("^Newsgroups:$" t mew-face-header-important mew-face-header-to)
649      ("^Date:$" t mew-face-header-important mew-face-header-date)
650      ("^Reply-To:$" t)
651      ("^X-Mailer:$" t)
652      ("^X-Mew:$" t mew-face-header-important mew-face-header-xmew)
653      ("^\\(Received\\|Return-Path\\|Sender\\|Errors-To\\):$" nil)
654      ("^\\(Path\\|Distribution\\|Xref\\):$" nil)
655      ("^NNTP-Posting-" nil)
656      ("^\\(Message-Id\\|Posted\\|In-Reply-To\\|References\\|Precedence\\):$" nil)
657      ("^Delivered-" nil)
658      ("^List-" nil)
659      ("^\\(Mime-Version\\|Lines\\):$" nil)
660      ("^From$" nil)
661      ("^Status:$" nil)
662      ("^Face:$" nil mew-face-header-private mew-face-header-marginal)
663      ("^X-Text-Classification:$" t mew-face-header-important mew-face-header-important)
664      ("^X-POPFile-Link:$" t mew-face-header-important mew-face-body-url)
665      ("^\\(X\\|Original\\)-" nil mew-face-header-private mew-face-header-marginal))))
666  '(mew-refile-guess-alist
667    (quote
668     (("From:"
669       ("noreply@adc1.apple.com" "+mm/adc")
670       ("mag2 ID 0000022139" "+mm/2ch")
671       ("noreply@sourceforge.net" "+from/sf-net"))
672      ("Subject:"
673       ("w3m-dev" "+ml/w3m-dev"))
674      ("To:"
675       ("glasgow-haskell-users@haskell.org" "+ml/ghc-users")
676       ("fink-devel@lists.sourceforge.net" "+ml/fink-devel"))
677      ("Reply-To:"
678       ("yun@kokonoe.com" "+mm/kokonoe"))
679      ("Cc:"
680       ("glasgow-haskell-users@haskell.org" "+ml/ghc-users")))))
681  '(mew-scan-fields
682    (quote
683     ("Folder:" "Filename:" "Subject:" "Date:" "From:" "To:" "Cc:" "Content-Type:" "Content-Transfer-Encoding:" "X-Mew-Uidl:" "Message-Id:" "In-Reply-To:" "References:" "X-Mew-Ref:" "X-Text-Classification:" "Body")))
684  '(mew-spam: "X-Text-Classification:")
685  '(mew-summary-form
686    (quote
687     (type
688      (5 date)
689      " "
690      (14 from)
691      " " t
692      (14 x-classification)
693      " "
694      (30 subj)
695      "|"
696      (0 body))))
697  '(midnight-mode t)
698  '(mouse-wheel-progessive-speed nil)
699  '(mouse-wheel-scroll-amount (quote (1 ((shift) . 5) ((control)))))
700  '(mpc-browser-tags
701    (quote
702     (Directory Genre Artist|Composer|Performer Album|Playlist)))
703  '(navi2ch-browse-url-browser-function (quote browse-url-firefox))
704  '(navi2ch-display-splash-screen nil)
705  '(navi2ch-list-moved-board-alist
706    (quote
707     (("http://mamono.2ch.net/ihou/" . "http://hideyoshi.2ch.net/ihou/"))))
708  '(navi2ch-mona-face-variable (quote navi2ch-mona12-face))
709  '(navi2ch-mona-on-message-mode t)
710  '(newsticker-html-renderer (quote w3m-region))
711  '(newsticker-url-list nil)
712  '(newsticker-url-list-defaults
713    (quote
714     (("slashdot" "http://slashdot.org/index.rss" nil 3600))))
715  '(ns-command-modifier (quote meta))
716  '(nxml-auto-insert-xml-declaration-flag t)
717  '(nxml-slash-auto-complete-flag t)
718  '(org-replace-disputed-keys t)
719  '(package-archives
720    (quote
721     (("gnu" . "https://elpa.gnu.org/packages/")
722      ("melpa" . "https://melpa.org/packages/"))))
723  '(package-selected-packages
724    (quote
725     (json-par nim-mode elscreen-fr color-theme-modern elscreen elscreen-multi-term projectile elixir-mode flycheck-haskell flycheck-inline flycheck-rust undo-tree auto-complete typescript-mode cargo toml-mode rust-mode)))
726  '(projectile-mode t nil (projectile))
727  '(rcirc-server-alist (quote (("irc1.ymir.jp" :nick "PHO`cons" nil nil))))
728  '(riece-layout "default")
729  '(riece-layout-alist
730    (quote
731     (("middle-right" riece-configure-windows right middle)
732      ("middle-left" riece-configure-windows left middle)
733      ("top-right" riece-configure-windows right top)
734      ("top-left" riece-configure-windows left top)
735      ("bottom-right" riece-configure-windows right bottom)
736      ("bottom-left" riece-configure-windows left bottom)
737      ("top" riece-configure-windows-top)
738      ("spiral" riece-configure-windows-spiral)
739      ("default" . "middle-right"))))
740  '(riece-others-buffer-mode nil)
741  '(rng-schema-locating-files
742    (quote
743     ("schemas.xml" "~/share/nxml/schemas.xml" "/usr/pkg/share/emacs/site-lisp/nxml-mode/schema/schemas.xml")))
744  '(rst-level-face-base-light 50)
745  '(safe-local-variable-values (quote ((todo-categories "Todo" "Todo" "Todo" "Todo"))))
746  '(select-enable-clipboard t)
747  '(session-use-package t nil (session))
748  '(skk-background-mode (quote light))
749  '(tramp-auto-save-directory "/tmp/tramp-auto-save")
750  '(tramp-completion-reread-directory-timeout 2)
751  '(tramp-default-host "localhost")
752  '(tramp-default-method "sshx")
753  '(uniquify-buffer-name-style (quote forward) nil (uniquify))
754  '(uniquify-trailing-separator-p t)
755  '(vc-cvs-diff-switches (quote ("-u")))
756  '(vc-cvs-stay-local nil)
757  '(vc-handled-backends (quote (Git Hg)))
758  '(w3m-bookmark-file-coding-system (quote utf-8))
759  '(w3m-coding-system (quote utf-8))
760  '(w3m-coding-system-priority-list (quote (utf-8)))
761  '(w3m-default-coding-system (quote utf-8))
762  '(w3m-default-display-inline-images t)
763  '(w3m-file-coding-system (quote utf-8))
764  '(w3m-file-name-coding-system (quote utf-8))
765  '(w3m-fill-column 80)
766  '(w3m-input-coding-system (quote utf-8))
767  '(w3m-key-binding nil)
768  '(w3m-output-coding-system (quote utf-8))
769  '(w3m-terminal-coding-system (quote utf-8))
770  '(w3m-use-cookies t)
771  '(which-function-mode t)
772  '(whitespace-global-modes (quote (not mew-draft-mode mew-summary-mode)))
773  '(whitespace-style
774    (quote
775     (face tabs trailing space-before-tab newline indentation empty space-after-tab)))
776  '(woman-cache-filename "~/.wmncach.el")
777  '(yaml-block-literal-electric-alist (quote ((62 . "-")))))
778 (custom-set-faces
779  ;; custom-set-faces was added by Custom.
780  ;; If you edit it by hand, you could mess it up, so be careful.
781  ;; Your init file should contain only one such instance.
782  ;; If there is more than one, they won't work right.
783  '(diff-added ((t (:inherit diff-changed :foreground "medium spring green" :weight extra-bold))))
784  '(diff-removed ((t (:foreground "gold3" :weight extra-bold))))
785  '(flyspell-incorrect ((t (:foreground "OrangeRed" :overline t))))
786  '(font-lock-comment-face ((t (:foreground "white smoke"))))
787  '(font-lock-keyword-face ((t (:foreground "salmon"))))
788  '(jaspace-highlight-tab-face ((((class color) (background dark)) (:foreground "gray70" :underline t))))
789  '(mode-line ((t (:background "grey75" :foreground "black" :box (:line-width -1 :style released-button)))))
790  '(navi2ch-bm-new-unread-face ((t (:foreground "PaleGreen" :weight bold))))
791  '(navi2ch-bm-updated-cache-face ((t (:foreground "CornflowerBlue" :weight bold))))
792  '(navi2ch-bm-updated-unread-face ((t (:foreground "DarkSeaGreen3" :weight bold))))
793  '(org-level-1 ((t (:foreground "pale turquoise"))))
794  '(textile-link-face ((t (:foreground "cyan"))))
795  '(textile-ol-bullet-face ((t (:foreground "dark orange"))))
796  '(textile-ul-bullet-face ((t (:foreground "deep sky blue"))))
797  '(which-func-face ((t (:background "black" :foreground "dark orange"))))
798  '(whitespace-empty ((t (:background "gray20" :foreground "firebrick"))))
799  '(whitespace-indentation ((t (:foreground "dimgray" :underline t))))
800  '(whitespace-line ((t (:background "gray20"))))
801  '(whitespace-tab ((t (:background "grey22" :foreground "dim gray" :underline (:color foreground-color :style wave))))))