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