]> 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 "\C-\\" 'toggle-input-method)
23
24 (unless window-system
25   (normal-erase-is-backspace-mode t))
26
27 (setq-default tab-width 4)
28 (global-font-lock-mode t)
29
30 (auto-compression-mode t)
31 (which-function-mode t)
32 (setq visible-bell t)
33 (setq ring-bell-function (lambda ()))
34
35 (require 'server)
36 (if (server-running-p)
37     (message "Warning: server %S is already running." server-name)
38   (server-start))
39
40 ;; windmove
41 (windmove-default-keybindings)
42
43 ;; Host specific configuration ------------------------------------------------
44 (let ((host (system-name)))
45   (cond ((equal host "aria.cielonegro.org")
46          (progn
47            ;; Use firefox as the default browser.
48            (setq browse-url-firefox-program "/opt/local/bin/firefox")
49            ;; Specify how to connect to some of the remote servers.
50            (setq tramp-default-proxies-alist nil)
51            (mapcar #'(lambda (proxy)
52                        (add-to-list 'tramp-default-proxies-alist proxy))
53             '( ("rd8"                                 nil "/sshx:pho@yebisu1.ymir.jp:")
54                ("pho\\.dev\\.office\\.ymir\\.co\\.jp" nil "/sshx:pho@yebisu1.ymir.jp:")
55                ("yebisu1\\.ymir\\.jp"                 nil "/sshx:pho@boss:"           )
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 (require-if-present 'elscreen-w3m)
177
178 ;; undo-tree
179 (require-if-present 'undo-tree)
180 (if (featurep 'undo-tree)
181         (global-undo-tree-mode))
182
183 ;; MPC
184 ;(require-if-present 'mpc-autoloads)
185
186 ;; rst-mode
187 (autoload 'rst-mode "rst"
188   "mode for editing reStructuredText documents" t)
189 (setq auto-mode-alist
190       (append '(("\\.rst$" . rst-mode)
191                 ("\\.rest$" . rst-mode)) auto-mode-alist))
192
193 ;; xsltxt-mode
194 (autoload 'xsltxt-mode "xsltxt-mode" "Major mode for xsltxt." t)
195 (add-to-list 'auto-mode-alist '("\\.xsltxt$" . xsltxt-mode))
196
197 ;; lua-mode
198 (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
199 (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
200
201 ;; twittering-mode
202 (require-if-present 'twittering-mode)
203 (setq twittering-username "phonohawk")
204
205 ;; riece
206 (autoload 'riece "riece" "Start Riece" t)
207 (add-hook 'riece-after-load-startup-hook
208                   #'(lambda ()
209                           (add-to-list 'riece-addons 'riece-alias)
210                           (add-to-list 'riece-addons 'riece-skk-kakutei)
211                           (add-to-list 'riece-addons 'riece-keyword)
212                           (add-to-list 'riece-addons 'riece-ctlseq)))
213
214 ;; CEDET
215 (add-to-list 'load-path "/usr/pkg/share/emacs/cedet/common")
216 (require-if-present 'cedet)
217
218 ;; ECB
219 (require-if-present 'ecb-autoloads)
220 (let* ((hosts '(("netbsd." .
221                  (("~/sandbox/yxmimeproc" "yxmimeproc")
222                   ("~/sandbox/YxMIME" "YxMIME.pm")
223                   ))
224                 ("g1.cuenote.jp" .
225                  (("~/sandbox/MR/engine/libycom" "libycom")
226                   ))
227                 ("aria.cielonegro.org" .
228                  (("~/sandbox/_web-app/Rakka"           "Rakka")
229                   ("~/sandbox/_haskell/Lucu"            "Lucu")
230                   ("~/sandbox/_web-app/Kirschbaum"      "Kirschbaum")
231                   ("~/sandbox/_haskell/HsOpenSSL"       "HsOpenSSL")
232                   ("~/sandbox/_haskell/HsHyperEstraier" "HsHyperEstraier")
233                   ("~/sandbox/_haskell/HsSVN"           "HsSVN")
234                   ("~/sandbox/_game/RoRo"               "RoRo")
235                   ("~/sandbox/_haskell/HXT"             "HXT")
236                   ("~/sandbox/_haskell/hxt-compile"     "hxt-compile")
237                   ("~/src/ghc-6.10.1"                   "ghc-6.10.1")
238                   ("~/sandbox/sugar"                    "sugar")
239                   ("~/sandbox/_haskell/dns"             "dns")
240                   ("~/sandbox/_haskell/blackboard-ddns" "blackboard-ddns")
241                   ))))
242        (paths (cdr (assoc (system-name) hosts))))
243   (setq ecb-source-path paths))
244
245 ;; leim
246 (require-if-present 'gaelic)
247
248 ;; rnc-mode
249 (autoload 'rnc-mode "rnc-mode")
250 (add-to-list 'auto-mode-alist '("\\.rnc\\'" . rnc-mode))
251
252 ;; bookmark
253 (setq bookmark-sort-flag nil)
254
255 ;; sudoku
256 (autoload 'sudoku "sudoku" "The Sudoku" t)
257
258 ;; mew
259 (autoload 'mew "mew" "Mew" t)
260
261 ;; cleite
262 (autoload 'cleite "cleite" "Cleite RSS Aggregator -- Emacs Interface" t)
263
264 ;; javascript
265 (autoload 'js2-mode "js2" nil t)
266 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
267 (add-to-list 'auto-mode-alist '("\\.json$" . javascript-mode))
268
269 ;; vimrc
270 (autoload 'vimrc-mode "vimrc-mode"
271   "Major mode for editing `.vimrc', `xxx.vim' and `.exrc' files." t)
272 (add-to-list 'auto-mode-alist '("\\.vim\\(rc\\)?$" . vimrc-mode))
273
274 ;; ido
275 (require 'ido)
276 (ido-mode t)
277
278 ;; sokoban
279 (autoload 'sokoban "sokoban.el" "Start a new game of Sokoban." t)
280 (autoload 'sokoban-mode "sokoban.el" "Play Sokoban in current buffer." t)
281 (setq sokoban-playerfiles-dir "/usr/local/var/games/emacs-sokoban")
282
283 ;; nXML
284 (load-file-if-present "/usr/pkg/share/emacs/site-lisp/nxml-mode/rng-auto.el")
285 (defalias 'xml-mode 'nxml-mode)
286 (add-to-list 'auto-mode-alist '("\\.xml$" . nxml-mode))
287 (add-to-list 'auto-mode-alist '("\\.xi$" . nxml-mode))
288 (add-to-list 'auto-mode-alist '("\\.rdf$" . nxml-mode))
289 (add-to-list 'auto-mode-alist '("\\.rng$" . nxml-mode))
290
291 ;; sstp
292 (autoload 'sstp-mode "sstp" "SSTP Editing Major-Mode" t)
293
294 ;; ruby-mode
295 (autoload 'ruby-mode "ruby-mode" "Mode for editing ruby source files")
296 (setq auto-mode-alist
297       (append '(("\\.rb$" . ruby-mode)) auto-mode-alist))
298 (setq interpreter-mode-alist (append '(("ruby" .ruby-mode))
299                                      interpreter-mode-alist))
300 (autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process")
301 (autoload 'inf-ruby-keys "inf-ruby" "set local key defs for inf-ruby in ruby-mode")
302 (add-hook 'ruby-mode-hook
303           '(lambda ()
304             (inf-ruby-keys)
305           ))
306
307 ;; Haskell
308 (load-if-present "haskell-site-file.el")
309
310 (autoload 'run-haskell "inf-haskell" "" t)
311 (autoload 'switch-to-haskell "inf-haskell" "" t)
312 (autoload 'inferior-haskell-load-file "inf-haskell" "" t)
313 (autoload 'inferior-haskell-type "inf-haskell" "" t)
314 (autoload 'inferior-haskell-info "inf-haskell" "" t)
315 (autoload 'inferior-haskell-find-definition "inf-haskell" "" t)
316 (autoload 'inferior-haskell-find-haddock "inf-haskell" "" t)
317
318 (add-to-list 'auto-mode-alist '("\\.hs$" . haskell-mode))
319 (add-to-list 'auto-mode-alist '("\\.hsc$" . haskell-mode))
320
321 (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
322 (add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
323 (add-hook 'haskell-mode-hook 'turn-on-haskell-ghci)
324
325 (load-if-present "~/sandbox/_input-method/haskell-unicode-input-method/haskell-unicode-input-method")
326  (add-hook 'haskell-mode-hook
327    (lambda () (set-input-method "haskell-unicode")))
328
329 ;; Hoogle
330 (autoload 'hoogle-lookup "hoogle" "Hoogle" t)
331 (global-set-key (kbd "C-c h") 'hoogle-lookup)
332
333 ;; c-mode
334 (mapcar (lambda (hook)
335       (add-hook hook
336             (lambda () (c-set-style "user"))))
337     '(c-mode-hook
338       c++-mode-hook
339       objc-mode-hook
340       java-mode-hook))
341
342 ;; EmacsWiki
343 (autoload 'emacs-wiki-find-file "emacs-wiki" "Emacs Wiki" t)
344 (defalias 'wiki 'emacs-wiki-find-file)
345
346 ;; cperl
347 (defalias 'perl-mode 'cperl-mode)
348 (setq cperl-indent-level 4)
349 (setq cperl-indent-parens-as-block t)
350
351 ;; Erlang
352 (add-to-list 'load-path "/usr/pkg/lib/erlang/lib/tools-2.6/emacs")
353 (require-if-present 'erlang-start)
354 (setq erlang-electric-commands nil)
355
356 ;; SKK
357 (require 'skk-autoloads)
358 (require 'skk-study)
359 (global-set-key "\C-x\C-j" 'skk-mode)
360 (global-set-key "\C-xj" 'skk-auto-fill-mode)
361 (global-set-key "\C-xt" 'skk-tutorial)
362 (setq skk-use-jisx0201-input-method t)
363 (setq skk-rom-kana-rule-list
364       '(("@" nil "@")
365         ("wi" nil ("ヰ" . "ゐ"))
366         ("we" nil ("ヱ" . "ゑ"))
367         ;;("hh" "h" ("ン" . "ん"))
368         ;;("mm" "m" ("ン" . "ん"))
369         ("zx" nil ("ゝ" . "ヽ"))
370         ("zc" nil ("ゞ" . "ヾ"))))
371 (set-input-method 'japanese-skk) ; INPUT METHOD
372
373 ;; navi2ch
374 (autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs" t)
375
376 ;; migemo
377 (require-if-present 'migemo)
378
379 ;; tiarra-conf
380 (setq load-path (cons (expand-file-name "~/sandbox/Tiarra") load-path))
381 (autoload 'tiarra-conf-mode "tiarra-conf" "tiarra.conf editing mode" t)
382
383 ;; po-mode
384 (autoload 'po-mode "po-mode")
385 (setq auto-mode-alist
386       (cons '("\\.po[tx]?\\'\\|\\.po\\." . po-mode)
387         auto-mode-alist))
388
389 ;; csv-mode
390 (autoload 'csv-mode "csv-mode"
391   "Major mode for editing comma-separated value files." t)
392 (add-to-list 'auto-mode-alist '("\\.[Cc][Ss][Vv]\\'" . csv-mode))
393
394 ;; yaml-mode
395 (autoload 'yaml-mode "yaml-mode"
396   "Major mode for editing YAML files." t)
397 (add-to-list 'auto-mode-alist '("\\.ya?ml$"  . yaml-mode))
398
399 ;; Troublesome Tasks
400 (if (equal (system-name) "seras")
401     (progn
402       (defun edit-troublesome-tasks ()
403         (interactive)
404         (elscreen-create)
405         (find-file (expand-file-name "~/var/troublesome-tasks.txt")))
406       (define-key ctl-x-map "MT" #'edit-troublesome-tasks)))
407
408 ;; ChangeLog
409 (setq user-full-name "PHO")
410 (setq user-mail-address "pho@cielonegro.org")
411
412 (defun memo ()
413   (interactive)
414   (add-change-log-entry nil (expand-file-name "~/sync/memo.txt")))
415 (define-key ctl-x-map "MM" #'memo)
416
417 (defun depression ()
418   (interactive)
419   (add-change-log-entry nil (expand-file-name "~/sync/depression.txt")))
420 (define-key ctl-x-map "MD" #'depression)
421
422 (defun plant ()
423   (interactive)
424   (add-change-log-entry nil (expand-file-name "~/sync/plant.txt")))
425 (define-key ctl-x-map "MP" #'plant)
426
427 (defun robinson ()
428   (interactive)
429   (elscreen-create)
430   (find-file (expand-file-name "~/sync/good-things.txt"))
431   (split-window-horizontally)
432   (next-window)
433   (find-file (expand-file-name "~/sync/bad-things.txt"))
434   (next-window))
435 (define-key ctl-x-map "MR" #'robinson)
436
437 ;; Emacs Calc
438 (add-hook 'calc-start-hook
439           (lambda ()
440             (if (functionp 'paren-deactivate)
441                 (paren-deactivate))))
442 (add-hook 'calc-end-hook
443           (lambda ()
444             (if (functionp 'paren-activate)
445                 (paren-activate))))
446
447 ;;; emacs-w3m
448 (autoload 'w3m "w3m" "Interface for w3m on Emacs." t)
449 (autoload 'w3m-browse-url "w3m" "Browse url by w3m." t)
450 (autoload 'w3m-find-file "w3m" "w3m interface function for local file." t)
451 (autoload 'w3m-search "w3m-search" "Search QUERY using SEARCH-ENGINE." t)
452 (autoload 'w3m-weather "w3m-weather" "Display weather report." t)
453 (autoload 'w3m-antenna "w3m-antenna" "Report chenge of WEB sites." t)
454 (autoload 'w3m-namazu "w3m-namazu" "Search files with Namazu." t)
455
456 ;; pov-mode
457 (autoload 'pov-mode "pov-mode" "POV-Ray scene file mode" t)
458 (setq auto-mode-alist
459       (append '(("\\.pov$" . pov-mode)
460                 ("\\.inc$" . pov-mode)
461                 ) auto-mode-alist))
462
463 ;; End of user configuration ---------------------------------------------------
464
465 ;; emacs auto edit
466 (put 'narrow-to-region 'disabled nil)
467 (custom-set-variables
468   ;; custom-set-variables was added by Custom.
469   ;; If you edit it by hand, you could mess it up, so be careful.
470   ;; Your init file should contain only one such instance.
471   ;; If there is more than one, they won't work right.
472  '(Info-additional-directory-list (quote ("/sw/share/info" "/usr/local/info" "/usr/local/share/info")))
473  '(ac-ignore-case nil)
474  '(appt-display-format (quote window))
475  '(appt-message-warning-time 20)
476  '(canlock-password "a14fa4d2601465d55585c291fa8b3943e189e716")
477  '(cleite:auto-refresh-interval nil)
478  '(cleite:measure-srpc-call-time t)
479  '(compilation-scroll-output (quote first-error))
480  '(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")))
481  '(cperl-merge-trailing-else nil)
482  '(csv-align-style (quote auto))
483  '(default-frame-alist (quote ((tool-bar-lines . 0) (menu-bar-lines . 1) (width . 80) (height . 25) (right-fringe) (left-fringe))))
484  '(ditz-find-issue-directory-automatically-flag t)
485  '(ecb-add-path-for-not-matching-files (quote (t)))
486  '(ecb-help-info-path "/sw/share/info/ecb.info")
487  '(ecb-layout-name "left14")
488  '(ecb-options-version "2.32")
489  '(ecb-show-sources-in-directories-buffer (quote always))
490  '(ecb-tip-of-the-day nil)
491  '(ecb-tree-buffer-style (quote ascii-guides))
492  '(ecb-windows-width 0.2)
493  '(elscreen-display-tab t)
494  '(global-whitespace-mode t)
495  '(haskell-program-name "ghci")
496  '(ido-enable-flex-matching t)
497  '(ido-everywhere t)
498  '(ido-ignore-files (quote ("\\`CVS/" "\\`#" "\\`.#" "\\`\\.\\./" "\\`\\./" "\\.ttc")))
499  '(ido-work-directory-list-ignore-regexps (quote ("^\\(/mnt/ibm/\\|/Volumes/IBM80GB/\\)")))
500  '(indent-tabs-mode nil)
501  '(jabber-nickname "PHO")
502  '(jabber-resource "emacs")
503  '(jabber-server "jabber.jp")
504  '(jabber-username "phonohawk")
505  '(jaspace-highlight-tabs t)
506  '(js2-auto-indent-flag nil)
507  '(js2-basic-offset 4)
508  '(js2-indent-on-enter-key nil)
509  '(js2-mirror-mode nil)
510  '(js2-use-font-lock-faces t)
511  '(mediawiki-site-alist (quote (("Wikipedia" "http://en.wikipedia.org/w/" "username" "password" "Main Page") ("YmirDev" "https://ymirlink:santamo@update.forcast.jp/fcdiv/mwiki/" "PHO" "" "メインページ"))))
512  '(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))))
513  '(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")))))
514  '(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")))
515  '(mew-spam: "X-Text-Classification:")
516  '(mew-summary-form (quote (type (5 date) " " (14 from) " " t (14 x-classification) " " (30 subj) "|" (0 body))))
517  '(mouse-wheel-progessive-speed nil)
518  '(mouse-wheel-scroll-amount (quote (1 ((shift) . 5) ((control)))))
519  '(navi2ch-browse-url-browser-function (quote browse-url-firefox))
520  '(navi2ch-display-splash-screen nil)
521  '(navi2ch-list-moved-board-alist (quote (("http://mamono.2ch.net/ihou/" . "http://hideyoshi.2ch.net/ihou/"))))
522  '(navi2ch-mona-face-variable (quote navi2ch-mona12-face))
523  '(navi2ch-mona-on-message-mode t)
524  '(newsticker-html-renderer (quote w3m-region))
525  '(newsticker-url-list nil)
526  '(newsticker-url-list-defaults (quote (("slashdot" "http://slashdot.org/index.rss" nil 3600))))
527  '(nxml-auto-insert-xml-declaration-flag t)
528  '(nxml-slash-auto-complete-flag t)
529  '(org-replace-disputed-keys t)
530  '(rcirc-server-alist (quote (("irc1.ymir.jp" :nick "PHO`cons" nil nil))))
531  '(riece-layout "default")
532  '(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"))))
533  '(riece-others-buffer-mode nil)
534  '(rng-schema-locating-files (quote ("schemas.xml" "~/share/nxml/schemas.xml" "/usr/pkg/share/emacs/site-lisp/nxml-mode/schema/schemas.xml")))
535  '(rst-level-face-base-light 50)
536  '(safe-local-variable-values (quote ((todo-categories "Todo" "Todo" "Todo" "Todo"))))
537  '(session-use-package t nil (session))
538  '(tramp-auto-save-directory "/tmp/tramp-auto-save")
539  '(tramp-completion-reread-directory-timeout 2)
540  '(tramp-default-host "localhost")
541  '(tramp-default-method "sshx")
542  '(uniquify-buffer-name-style (quote forward) nil (uniquify))
543  '(uniquify-trailing-separator-p t)
544  '(w3m-bookmark-file-coding-system (quote utf-8))
545  '(w3m-coding-system (quote utf-8))
546  '(w3m-coding-system-priority-list (quote (utf-8)))
547  '(w3m-default-coding-system (quote utf-8))
548  '(w3m-default-display-inline-images t)
549  '(w3m-file-coding-system (quote utf-8))
550  '(w3m-file-name-coding-system (quote utf-8))
551  '(w3m-fill-column 80)
552  '(w3m-input-coding-system (quote utf-8))
553  '(w3m-key-binding nil)
554  '(w3m-output-coding-system (quote utf-8))
555  '(w3m-terminal-coding-system (quote utf-8))
556  '(w3m-use-cookies t)
557  '(whitespace-style (quote (face tabs trailing lines-tail space-before-tab newline indentation empty space-after-tab tab-mark)))
558  '(woman-cache-filename "~/.wmncach.el")
559  '(x-select-enable-clipboard t))
560 (custom-set-faces
561   ;; custom-set-faces was added by Custom.
562   ;; If you edit it by hand, you could mess it up, so be careful.
563   ;; Your init file should contain only one such instance.
564   ;; If there is more than one, they won't work right.
565  '(diff-added ((t (:inherit diff-changed :foreground "medium spring green" :weight extra-bold))))
566  '(diff-removed ((t (:foreground "gold3" :weight extra-bold))))
567  '(flyspell-incorrect ((t (:foreground "OrangeRed" :overline t))))
568  '(jaspace-highlight-tab-face ((((class color) (background dark)) (:foreground "gray70" :underline t))))
569  '(navi2ch-bm-new-unread-face ((t (:foreground "PaleGreen" :weight bold))))
570  '(navi2ch-bm-updated-cache-face ((t (:foreground "CornflowerBlue" :weight bold))))
571  '(navi2ch-bm-updated-unread-face ((t (:foreground "DarkSeaGreen3" :weight bold))))
572  '(which-func-face ((t (:background "black" :foreground "dark orange"))))
573  '(whitespace-indentation ((t (:foreground "dimgray" :underline t))))
574  '(whitespace-line ((t (:background "gray20")))))