- 追加された行はこの色です。
- 削除された行はこの色です。
&tag(Homebrew/emacs);
*目次 [#b765256a]
#contents
*参考情報 [#n88db20a]
-[[Homebrew]]
*24.3のインストール [#x57e9abf]
**最新の方法 [#z5b61d8f]
-[[homebrew - 最近のemacs.rb - Qiita [キータ]:http://qiita.com/h12o@github/items/07f773909da5ebdb7b7c]]
-[[homebrew - 最近のemacs.rb - Qiita [キータ]:http://qiita.com/h12o@github/items/07f773909da5ebdb7b7c]]、[[HomebrewのEmacsにIMEインラインパッチが取り込まれたので設定した - @znz blog:http://blog.n-z.jp/blog/2013-11-12-cocoa-emacs-ime.html]]
brew update
brew uninstall emacs
brew install emacs --cocoa --japanese
brew install --cocoa --srgb --with-gnutls --japanese emacs -v
以下オプション
- --with-gnutls: GNUTLSを有効にする。[[Emacs GnuTLS Integration {No value for `VERSION'}:http://www.gnu.org/software/emacs/manual/html_mono/emacs-gnutls.html]]。
- --srgb: sRGBを有効にする。
**古い方法 [#f47304cd]
-[[Homebrewのemacsをeditしてインラインパッチなどを当てる(Emacs-24.3) #Emacs - Qiita [キータ]:http://qiita.com/items/0824b0a4fd1eaae67019]]
-/usr/local/Library/Formula/emacs.rbを編集。def installの前に以下の部分を追加する。
#pre{{
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