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