`(blog ,garaemon)

ポップカルチャーを摂取して、コードを吐き出す機械

macでimagemagickとcocoaが有効になったemacsを使う

結論から言うと, emacs-plusを使うと良い

macemacscocoa上で動かしたい時, homebrewではbrew cask install emacsのようにインストールする.

しかしこれだとimagemagickが有効になっていない.

imagemagickが有効化は以下のコマンドで調べられる.

(image-type-available-p 'imagemagick)

markdown-modemarkdown-max-image-sizeを使いたかったのだが, これが imagemagick必須だった ので, brew cask経由で入れたemacsでは有効にならなかった.

mac上で簡単にimagemagickcocoaが有効なemacsを使うには, emacs-plusを使うと良い

brew tap d12frosted/emacs-plus
brew install emacs-plus --with-imagemagick@6 --without-spacemacs-icon

--without-spacemacs-iconは, とくにspacemacsを使っているわけでないのでつけてみた.