el-getの設定
el-getを導入できたので、設定を上げておきます。
詳しい内容については、info に記載があります。 M-x info !
recipeの格納ポリシー
- el-getにないWebから拾ってきたrecipeは「~/.emacs.d/el-get/el-get」に入れる
- ファイルで配布されてないレシピは el-get-sources に追加 (一時的なもの含め)
設定ファイル
(add-to-list 'load-path "~/.emacs.d/el-get/el-get") ;; el-getがなければ自動でインストール (unless (require 'el-get nil 'noerror) (with-current-buffer (url-retrieve-synchronously "https://raw.github.com/dimitri/el-get/master/el-get-install.el") (let (el-get-master-branch) (goto-char (point-max)) (eval-print-last-sexp)))) ;; マイレシピの格納場所 (add-to-list 'el-get-recipe-path "~/.emacs.d/my-recipes") ;; マイレシピを手軽に追加する場合は以下に書く (setq el-get-sources '( ;; 以下追加例 ;; (:name ruby-mode-trunk-head ;; :type http ;; :description "Major mode for editing Ruby files. (trunk-head)" ;; :url "http://bugs.ruby-lang.org/projects/ruby-trunk/repository/raw/misc/ruby-mode.el") ;; (:name php-mode-github ;; :type github ;; :website "https://github.com/ejmr/php-mode" ;; :description "Major mode for editing PHP files. (on Github based on SourceForge version))" ;; :pkgname "ejmr/php-mode") )) (el-get 'sync)
あと定期的に実行することを記載しておきます。