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