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