#author("2022-04-18T05:27:47+00:00","default:src128","src128")
&tag(Homebrew/emacs);
*目次 [#b765256a]
#contents
*参考情報 [#n88db20a]
-[[Homebrew]]
*24.3のインストール [#x57e9abf]
**最新の方法 [#z5b61d8f]
-[[homebrew - 最近のemacs.rb - Qiita [キータ]:http://qiita.com/h12o@github/items/07f773909da5ebdb7b7c]]
 brew update
 brew uninstall emacs
 brew install emacs --cocoa --japanese
-[[Homebrew で IME インラインパッチを当てた Emacs 24.5.1 を入れる | nDiki:http://www.naney.org/diki/d/2015-07-24-Emacs.html]]
-[[./古い内容2]]
-[[./古い内容]]


**古い方法 [#f47304cd]
-[[Homebrewのemacsをeditしてインラインパッチなどを当てる(Emacs-24.3) #Emacs - Qiita [キータ]:http://qiita.com/items/0824b0a4fd1eaae67019]]
-/usr/local/Library/Formula/emacs.rbを編集。def installの前に以下の部分を追加する。
*インストール: 2022/04/18(月) [#pcd266d3]
-Emacs Mac Port版が最適化
-以下のコマンドでインストールできる。最後の行はAlfredで表示するため。Alfredはシンボリックリンクを認識しない。macOSのaliasは認識するらしいが手順が複雑なのでコピーするのがてっとりばやい。
#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 tap railwaycat/emacsmacport
brew install emacs-mac --with-modern-icon
cp -a /opt/homebrew/opt/emacs-mac/Emacs.app /Applications
}}
-ビルド
 $ brew install emacs --cocoa --env=std
-インストール後、リンクする
 $ ln -s /usr/local/Cellar/emacs/24.3/Emacs.app /Applications
-「--with-modern-icon」でアイコンをモダンにしている。オプションは以下のコマンドで確認可能。「--with-imagemagic」は必要かどうか不明。
#pre{{
brew info emacs-mac
}}


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS