&tag(Homebrew/emacs); *目次 [#b765256a] #contents *参考情報 [#n88db20a] -[[Homebrew]] -[[Homebrew で IME インラインパッチを当てた Emacs 24.5.1 を入れる | nDiki:http://www.naney.org/diki/d/2015-07-24-Emacs.html]] -[[./古い内容]] *概要 [#rf62e57d] -Homebrew公式だと--japaneseパッチが当たっていない(MacPortsは当てられる)。 -互換性がなくなると困るのでHomebrew側でも--japaneseパッチをあててインストールしたい。 *24.5のインストール [#m597325d] -以下の方法でインストールする(実質は下あるパッチとほとんど同じもの) brew tap src256/emacs-jp brew install emacs-jp --japanese --with-cocoa --srgb --with-gnutls -Emacs.appをコピー sudo cp -a $(brew --prefix)/Cellar/emacs-jp/24.5/Emacs.app /Applications *24.5のインストール(古い方法) [#i905352c] -以下の方法でインストールする。 brew install https://gist.githubusercontent.com/ssugiyama/5ff88299efadd61415c5/raw/588c209dd8f3e5b99c7f39e149d9c70d0ab3be02/emacs-jp.rb --japanese --with-cocoa --srgb --with-gnutls -Emacs.appをコピー sudo cp -a $(brew --prefix)/Cellar/emacs-jp/24.5/Emacs.app /Applications -24.5にjapaneseパッチあてたバージョンは、iTerm上での表示がずれたりして使いものにならない?と思っていたがどうやらこれはiTermのせい。 -Treat ambiguous-wdith…のオプションにチェックを入れておくと発生する。 -外すと副作用がありそうなのでとりあえずそのままに。 -Ctrl-Lでとりあえず復旧する。 * Homebrew-emacsmacportのインストール [#tae7d939] -[[railwaycat/homebrew-emacsmacport:https://github.com/railwaycat/homebrew-emacsmacport]]がいいらしい。 brew tap railwaycat/emacsmacport brew install emacs-mac