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