概要
Emacs22 以上では ~/.emacs.d 以下に集めるのが良い。MS-DOS 環境の場合は ~/_emacs.d を読んでくれます。
~/.emacs.d/init.el を起動ファイルとして読むので ~/.emacs や ~/.emacs.el ではなくて ~/.emacs.d/init.el にした方が良い
sakito の .emacs.d の中身を以下で公開しています。
https://github.com/sakito/dot.emacs.d
設定
.emacs.d は Emacs23 から user-emacs-directory 変数が用意されている。
subr.el の内容変更してからコンパイルすれば、変更することができる。
構成
設定系のディレクトリ名を何にするかは問題ですが、以下のようにしています。
~/ .emacs.d/ init.el site-start.d init-*.el ... init.el から読みこむ起動設定ファイル lisp ... 他者が配布している Emacs Lisp local-lisp ... 自分で作成した Emacs Lisp やなんらかの理由で公式配布のバージョンから修正してある Emacs Lisp private ... 公開しないファイル類など rc.d ... zshrc 等の rc ファイルがはいっていて ln -s している。結局 Emacs との連携を考えるのでまとめた bin ... Emacs Lisp のみから呼ぶことを想定して作成してあるスクリプト等 share dtd rnc icons skk man info ... Emacs Lisp が利用する固定(基本いじくらない)リソース etc snippets rst ... Emacs Lisp が利用する可変(基本いじる)リソース var ... キャシュファイルやバックアップファイル用
とか
参考になりそうな解説
読むのにお勧めな .emacs
elim's dotemacs at master - GitHub
/dotfiles/emacs/kentaro – CodeRepos::Share – Trac
参考になりそうな .emacs
Declaring .emacs Bankruptcy | M-x all-things-emacs
http://bitbucket.org/birkenfeld/dotemacs/src/a8807e1e7f0f/
emacs.d at master from rmm5t's dotfiles - GitHub
/dotfiles/emacs – CodeRepos::Share – Trac
/dotfiles/emacs/shyouhei/.emacs.d – CodeRepos::Share – Trac
filcab's elisp at master - GitHub
http://nullman.org/tutorial/Emacs.html
http://bitbucket.org/kzys/dotfile/
Stevey's Home Page - Effective Emacs
topfunky's emacs-starter-kit at master - GitHub
Petit emacs lisp tips on .emacs.el
http://sunoano.name/ws/public_xhtml/.emacs.html
http://bitbucket.org/nawoto/dotfiles/
http://github.com/mina86/dot-files/blob/master/dot-emacs
http://github.com/jimo1001/emacs.d
http://github.com/ghoseb/emacs-starter-kit
http://rhoda.haxney.org/code/p/emacs/source/tree/master/
http://github.com/yaotti/emacs-files
http://bitbucket.org/jpellerin/dotfiles/src/
http://github.com/alexott/emacs-configs/tree/master/rc/
http://bazaar.launchpad.net/~nanasess/+junk/dot.emacs.d/files
http://github.com/dabrahams/elisp
https://github.com/ramu/dotfiles/tree/master/.emacs.d/conf/src
taichino/emacs_config · GitHub
https://github.com/magnars/.emacs.d
dotfiles/init.el at master · notani/dotfiles · GitHub