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