| 1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 2 | ;;;; |
|---|
| 3 | (server-start) |
|---|
| 4 | (add-hook 'after-init-hook |
|---|
| 5 | 'server-start) |
|---|
| 6 | (add-hook 'server-done-hook |
|---|
| 7 | (lambda () |
|---|
| 8 | (shell-command |
|---|
| 9 | "screen -r -X select `cat ~/tmp/emacsclient-caller`"))) |
|---|
| 10 | |
|---|
| 11 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 12 | ;;;; Load path |
|---|
| 13 | (setq load-path |
|---|
| 14 | (append (list |
|---|
| 15 | (expand-file-name "~/.emacs.d/") |
|---|
| 16 | (expand-file-name "~/.emacs.d/elisp/")) |
|---|
| 17 | load-path)) |
|---|
| 18 | |
|---|
| 19 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 20 | ;;;; For Japanese |
|---|
| 21 | (load "config.language") |
|---|
| 22 | |
|---|
| 23 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 24 | ;;;; Base settings |
|---|
| 25 | (load "config.base") |
|---|
| 26 | |
|---|
| 27 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 28 | ;;;; Key bindings |
|---|
| 29 | (load "config.keybindings") |
|---|
| 30 | |
|---|
| 31 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 32 | ;;;; Color settings |
|---|
| 33 | (load "config.colors") |
|---|
| 34 | |
|---|
| 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 36 | ;;;; Functions |
|---|
| 37 | (load "config.functions") |
|---|
| 38 | |
|---|
| 39 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 40 | ;;;; For Perl |
|---|
| 41 | (load "config.perl") |
|---|
| 42 | |
|---|
| 43 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 44 | ;;;; For PHP |
|---|
| 45 | (load "config.php") |
|---|
| 46 | |
|---|
| 47 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 48 | ;;;; For CSS |
|---|
| 49 | (load "config.css") |
|---|
| 50 | |
|---|
| 51 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 52 | ;;;; For JavaScript |
|---|
| 53 | (load "config.javascript") |
|---|
| 54 | |
|---|
| 55 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 56 | ;;;; For HTML |
|---|
| 57 | (load "config.html") |
|---|
| 58 | |
|---|
| 59 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 60 | ;;;; For YAML |
|---|
| 61 | (load "config.yaml") |
|---|
| 62 | |
|---|
| 63 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 64 | ;;;; For MMM |
|---|
| 65 | (load "config.mmm") |
|---|
| 66 | |
|---|
| 67 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 68 | ;;;; For Anything |
|---|
| 69 | (load "config.anything") |
|---|
| 70 | |
|---|
| 71 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 72 | ;;;; For flymake |
|---|
| 73 | (load "config.flymake") |
|---|
| 74 | |
|---|
| 75 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 76 | ;;;; Miscs. |
|---|
| 77 | (load "config.miscs") |
|---|
| 78 | |
|---|
| 79 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|---|
| 80 | ;;;; Custom variables |
|---|
| 81 | (custom-set-variables |
|---|
| 82 | ;; custom-set-variables was added by Custom. |
|---|
| 83 | ;; If you edit it by hand, you could mess it up, so be careful. |
|---|
| 84 | ;; Your init file should contain only one such instance. |
|---|
| 85 | ;; If there is more than one, they won't work right. |
|---|
| 86 | '(cper-continued-statement-offset 4) |
|---|
| 87 | '(cperl-auto-newline nil) |
|---|
| 88 | '(cperl-brace-offset -4) |
|---|
| 89 | '(cperl-close-paren-offset -4) |
|---|
| 90 | '(cperl-highlight-variables-indiscriminately t) |
|---|
| 91 | '(cperl-indent-level 4) |
|---|
| 92 | '(cperl-indent-parens-as-block t) |
|---|
| 93 | '(cperl-label-offset -4) |
|---|
| 94 | '(cperl-tab-always-indent t) |
|---|
| 95 | '(php-manual-url "http://www.php.net/manual/ja/") |
|---|
| 96 | '(php-mode-force-pear t) |
|---|
| 97 | '(simple-hatena-bin "~/bin/hw.pl") |
|---|
| 98 | '(simple-hatena-default-id "xcezx")) |
|---|
| 99 | (custom-set-faces |
|---|
| 100 | ;; custom-set-faces was added by Custom. |
|---|
| 101 | ;; If you edit it by hand, you could mess it up, so be careful. |
|---|
| 102 | ;; Your init file should contain only one such instance. |
|---|
| 103 | ;; If there is more than one, they won't work right. |
|---|
| 104 | '(w3m-anchor ((((class color) (background light)) (:foreground "brightgreen")))) |
|---|
| 105 | '(w3m-arrived-anchor ((((class color) (background light)) (:foreground "brightgreen"))))) |
|---|
| 106 | |
|---|
| 107 | (put 'narrow-to-region 'disabled nil) |
|---|