- 追加された行はこの色です。
- 削除された行はこの色です。
&tag(Homebrew/emacs);
*目次 [#b765256a]
#contents
*参考情報 [#n88db20a]
-[[Homebrew]]
*インストール [#x57e9abf]
inlineパッチなどをあてたやつを入れた方がいいらしい
*24.3のインストール [#x57e9abf]
-[[Homebrewのemacsをeditしてインラインパッチなどを当てる(Emacs-24.3) #Emacs - Qiita [キータ]:http://qiita.com/items/0824b0a4fd1eaae67019]]
-/usr/local/Library/Formula/emacs.rbを編集。def installの前に以下の部分を追加する。
#pre{{
$ brew install https://raw.github.com/gist/2874340/d54f23d1e0f1bb700529a47bbb430c284f3e156e/emacs.rb --cocoa --inline
$ cp /usr/local/Cellar/emacs/24.2/Emacs.app /Applications # symbolic linkだとLaunchBarがさがせないので
def patches
if build.include? "cocoa" and not build.head?
{ :p0 => "https://gist.github.com/ganta/5139150/raw/8f6fc32747c40a51de597ce73085f56764a7d3ed/japanese-patch-for-emacs-24.3.patch" }
end
end
}}
-ビルド
$ brew install emacs --cocoa --env=std
-インストール後、リンクする
$ ln -s /usr/local/Cellar/emacs/24.3/Emacs.app /Applications