I recently upgraded my Mac to Catalina 10.15.6.
I also upgraded emacs to 27.1. When I try to start it, I get an error: "Emacs" can't be opened because Apple cannot check it for malicious software
:
I tried downloading the dmg directly from emacsformacosx.com and installing via brew cask install emacs
, which appeared to get it from the same place.
brew install emacs
installed 26.3 and would only open it in the terminal, not as a separate app. I know that there used to be a --with-cocoa
option, but I could not figure out how to get that to work.
What do I need to do to install emacs on Catalina, such that it works in a separate window rather than in a terminal?
https://github.com/Homebrew/homebrew-cask/issues/87415 - suggests brew cask reinstall emacs --no-quarantine
Having done that you will find that it can't open some files. https://emacs.stackexchange.com/questions/53248/finder-of-macos-catalina-cannot-open-a-file-with-emacs proposes a modification to Emacs.app to work around this.
https://spin.atomicobject.com/2019/12/12/fixing-emacs-macos-catalina/ is also worth a look.