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