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