#author("2022-04-16T06:13:08+00:00","default:src128","src128")
&tag(Homebrew/emacs/古い内容2);
*目次 [#p7b8937b]
#contents
*関連ページ [#n9461480]
*参考情報 [#bd468ecb]

*概要 [#rf62e57d]
-Homebrew公式だと--japaneseパッチが当たっていない(MacPortsは当てられる)。
-互換性がなくなると困るのでHomebrew側でも--japaneseパッチをあててインストールしたい。

*25.3のインストール [#dd74e730]
-バージョンアップのたびに日本語パッチの準備したりコンパイルするのが面倒なので、emacs-mac版を使用することにした。
-[[railwaycat/homebrew-emacsmacport: Emacs mac port formulae for the Homebrew package manager:https://github.com/railwaycat/homebrew-emacsmacport]]
-以下のようにインストールできる。
#pre{{
$ brew tap railwaycat/emacsmacport
$ brew cask install emacs-mac
}}
-ただしjapaneseパッチを当てたものとことなり、mac-set-input-method-parameterがつかえない。
-toggle-read-onlyが使えない。E-xで補完できないし、「"toggle-read-only" is an obsolete command(as of 24.3) use "read-only-mode" instead"」と表示される。

*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


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS