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