| 90 | | (if vine-default |
| 91 | | (progn |
| 92 | | (message "Starting vine-default-setup ...") |
| 93 | | (if vine-default-base (require 'vine-default-base)) |
| 94 | | (if vine-default-faces (require 'vine-default-faces)) |
| 95 | | (run-hooks 'vine-default-setup-hook) |
| 96 | | (run-hooks 'after-vine-default-setup-hook);; obsolete |
| 97 | | ) |
| | 91 | (when vine-default |
| | 92 | (message "Starting vine-default-setup ...") |
| | 93 | (when vine-default-base |
| | 94 | (message "Loading vine-default-base ...") |
| | 95 | (require 'vine-default-base)) |
| | 96 | (when vine-default-faces |
| | 97 | (message "Loading vine-default-faces ...") |
| | 98 | (require 'vine-default-faces)) |
| | 99 | (run-hooks 'vine-default-setup-hook) |
| | 100 | (run-hooks 'after-vine-default-setup-hook);; obsolete |
| | 135 | ==== ''package''-init.el ==== |
| | 136 | |
| | 137 | from howm-init.el of howm-1.3.9.1-2vl6.noarch |
| | 138 | |
| | 139 | {{{ |
| | 140 | ;; |
| | 141 | ;; howm-init.el |
| | 142 | ;; |
| | 143 | ;; for Vine Linux with emacsen-common |
| | 144 | ;; Munehiro Yamamoto <munepi@vinelinux.org> |
| | 145 | |
| | 146 | (defcustom vine-default-howm t |
| | 147 | "A boolean for vine-default-howm" |
| | 148 | :type 'boolean) |
| | 149 | |
| | 150 | (add-hook 'vine-default-setup-hook |
| | 151 | (lambda() |
| | 152 | (when vine-default-howm |
| | 153 | (message "Loading vine-default-howm ...") |
| | 154 | (require 'vine-default-howm)))) |
| | 155 | |
| | 156 | ;;; end of file |
| | 157 | }}} |
| | 158 | |
| | 159 | |
| | 160 | ==== emacs24-local.el ==== |
| | 161 | |
| | 162 | from emacs24-local.el of emacs24-24.0.50-3.20110128vl6.x86_64 |
| | 163 | |
| | 164 | {{{ |
| | 165 | ;; |
| | 166 | ;; GNU Emacs EMACS_VERSION local configuration file |
| | 167 | ;; |
| | 168 | ;; This configuration is read at the end of site-start.el. |
| | 169 | ;; Emacs configuration files are read |
| | 170 | ;; - distribution wide from site-start.el |
| | 171 | ;; - system wide from this configuration file |
| | 172 | ;; - per user from ~/.emacs.d/init.el, |
| | 173 | ;; where per user settings override system wide settings, |
| | 174 | ;; and system wide settings override site-start.el. |
| | 175 | |
| | 176 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 177 | |
| | 178 | |
| | 179 | |
| | 180 | |
| | 181 | |
| | 182 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 183 | |
| | 184 | ;; Local Variables: |
| | 185 | ;; mode: emacs-lisp |
| | 186 | ;; End: |
| | 187 | }}} |
| | 188 | |
| | 189 | ==== ~/.emacs.d/emacsXX-vine-default.el ==== |
| | 190 | |
| | 191 | Emacs XX を起動して、vine-default-setup が実行される前に、~/.emacs.d/emacsXX-vine-default.el から vine-default に関する設定を読み込みます。 |
| | 192 | |
| | 193 | {{{ |
| | 194 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 195 | ;; -*- coding: utf-8-unix -*- |
| | 196 | ;; FSF Emacs 24 用 vine-default 設定ファイル |
| | 197 | ;; Munehiro Yamamoto <munepi@vinelinux.org> |
| | 198 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 199 | |
| | 200 | ;; Vine Linux のデフォルト設定を無効にしたい場合は、 |
| | 201 | ;; 以下を有効にしてください。 |
| | 202 | ;; (setq vine-default nil) |
| | 203 | |
| | 204 | ;;; 環境変数 EMACS_IME と異なる IME を使いたい場合は、 |
| | 205 | ;;; 以下を有効にして設定することができます。 |
| | 206 | ;; (setq emacs-ime "atokx3");; mozc ibus-el scim tamago scim-bridge wnn7egg atokx3 skk anthy-el scim-bridge |
| | 207 | |
| | 208 | ;;; マクロサーチパスの追加 |
| | 209 | ;;; 例えば、~/lib/emacs 以下にユーザ用の *.el, *.elc を置くことができます。 |
| | 210 | ;; (add-to-list 'load-path "~/lib/emacs") |
| | 211 | ;; (add-to-list 'load-path "~/.emacs.d/auto-install") |
| | 212 | |
| | 213 | |
| | 214 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 215 | |
| | 216 | ;; Local Variables: |
| | 217 | ;; mode: emacs-lisp |
| | 218 | ;; End: |
| | 219 | }}} |
| | 220 | |
| | 221 | |
| | 222 | ==== vine-default-''package''.el ==== |
| | 223 | |
| | 224 | from vine-default-howm.el of howm-1.3.9.1-2vl6.noarch |
| | 225 | |
| | 226 | {{{ |
| | 227 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 228 | ;; -*- coding: utf-8-unix -*- |
| | 229 | ;; FSF Emacs 23 用 Vine Linux howm 設定 |
| | 230 | ;; Munehiro Yamamoto <munepi@vinelinux.org> |
| | 231 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 232 | |
| | 233 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 234 | ;; howm |
| | 235 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 236 | |
| | 237 | (autoload 'howm-menu "howm-mode" "Hitori Otegaru Wiki Modoki" t) |
| | 238 | |
| | 239 | (setq howm-process-coding-system 'utf-8) |
| | 240 | (setq howm-menu-lang 'ja) |
| | 241 | ;; (global-set-key "\C-c,," 'howm-menu) |
| | 242 | |
| | 243 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 244 | |
| | 245 | (provide 'vine-default-howm) |
| | 246 | |
| | 247 | ;; Local Variables: |
| | 248 | ;; mode: emacs-lisp |
| | 249 | ;; End: |
| | 250 | }}} |
| | 251 | |
| | 252 | |
| | 296 | |
| | 297 | 必要であれば、Emacs バージョン共通の設定ファイルなどを設けて、以下のようにしてもよいでしょう。 |
| | 298 | {{{ |
| | 299 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 300 | ;; -*- coding: utf-8-unix -*- |
| | 301 | ;; FSF Emacs バージョン分岐用ファイル |
| | 302 | ;; Munehiro Yamamoto <munepi@vinelinux.org> |
| | 303 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 304 | |
| | 305 | ;;; ユーザーの初期設定ファイルの指定 |
| | 306 | (setq user-init-file |
| | 307 | (concat "~/.emacs.d/emacs" (number-to-string emacs-major-version) |
| | 308 | "-init.el")) |
| | 309 | (setq custom-file |
| | 310 | (concat "~/.emacs.d/emacs" (number-to-string emacs-major-version) |
| | 311 | "-custom.el")) |
| | 312 | |
| | 313 | (if (file-exists-p (expand-file-name user-init-file)) |
| | 314 | (load (expand-file-name user-init-file))) |
| | 315 | (if (file-exists-p (expand-file-name custom-file)) |
| | 316 | (load (expand-file-name custom-file))) |
| | 317 | |
| | 318 | |
| | 319 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 320 | |
| | 321 | ;; 個人的な設定ファイル: Emacs バージョン共通 |
| | 322 | (setq my-emacs-common-file "~/.emacs.d/emacs-common.el") |
| | 323 | (if (file-exists-p (expand-file-name my-emacs-common-file)) |
| | 324 | (load-file (expand-file-name my-emacs-common-file))) |
| | 325 | |
| | 326 | |
| | 327 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 328 | |
| | 329 | ;; Local Variables: |
| | 330 | ;; mode: emacs-lisp |
| | 331 | ;; End: |
| | 332 | }}} |
| | 333 | |
| | 334 | ==== ~/.emacs.d/emacsXX-init.el ==== |
| | 335 | |
| | 336 | Emacs XX を起動すると、上記の ~/.emacs.d/init.el から ~/.emacs.d/emacsXX-init.el が |
| | 337 | |
| | 338 | {{{ |
| | 339 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 340 | ;; -*- coding: utf-8-unix -*- |
| | 341 | ;; FSF Emacs 24 用 ユーザ設定ファイル |
| | 342 | ;; Munehiro Yamamoto <munepi@vinelinux.org> |
| | 343 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 344 | |
| | 345 | |
| | 346 | |
| | 347 | |
| | 348 | |
| | 349 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| | 350 | |
| | 351 | ;; Local Variables: |
| | 352 | ;; mode: emacs-lisp |
| | 353 | ;; End: |
| | 354 | }}} |
| | 355 | |
| | 356 | |
| | 357 | ==== vupgrade??? ==== |
| | 358 | |
| | 359 | Vine Linux 5 までの設定ファイル ~/.emacs.* は、すべて ~/.emacs.d/dot.emacs/ 以下に移すようにするのはどうでしょうか? |
| | 360 | |