macでimagemagickとcocoaが有効になったemacsを使う
結論から言うと, emacs-plusを使うと良い
macでemacsをcocoa上で動かしたい時, homebrewではbrew cask install emacs
のようにインストールする.
しかしこれだとimagemagickが有効になっていない.
imagemagickが有効化は以下のコマンドで調べられる.
(image-type-available-p 'imagemagick)
markdown-modeの
markdown-max-image-sizeを使いたかったのだが, これが
imagemagick必須だった
ので,
brew cask
経由で入れたemacsでは有効にならなかった.
mac上で簡単にimagemagickとcocoaが有効なemacsを使うには, emacs-plusを使うと良い
brew tap d12frosted/emacs-plus brew install emacs-plus --with-imagemagick@6 --without-spacemacs-icon
--without-spacemacs-icon
は, とくにspacemacsを使っているわけでないのでつけてみた.