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