Is anyone successfully running a windowed emacs, (not terminal emacs), on one of the new Mac M1s?
Does this port work? https://emacsformacosx.com
Is there another?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
Yes, https://emacsformacosx.com works on the M1 Macs. However, it does also require that you override the security preferences regarding app identity when you have downloaded and installed the package, immediately after running it.
Editorial note: because I don't have 50 reputation, I am not allowed to comment on the answer, which I believe already answered the question. I think it would have been more appropriate to comment with a clarification, rather than having to enter a completely new answer.
Yes. The Emacs from macsformacosx.com works in GUI mode on the Mac M1. It is running in x86 emulation mode, not native ARM mode, but it works.
I plan to try some of the other versions later (Mitsuharu's version, homebrew version, nativecomp version) but since this one works I'm going to use it for now.
You can use this repository  and install Emacs using brew. I think the README is self-explanatory. I use Emacs Doom as IDE with heavy reliant on LSP. This Emacs source has some needed patches to make it work on Apple ARM machines.
I have this working as well, from both the dock UI and commandline entry points. To get the commandline entry point to work, I had to run emacs from a rosetta-enabled terminal, e.g.
In that terminal, start up emacs like this:
I used the installation from homebrew cask
brew install --cask emacs
Once has to open Emacs using by Control-click on the Emacs app icon in the applications folder. This will fail with a message that the application cannot be run. This is because emacs in /opt/homebrew/bin is linked to /Applications/Emacs.app/Contents/MacOS/Emacs.
Adding an alias in your .zshrc file
will fix the problem.
Comment: I tried to create a link between emacs in /opt/hembrew/bin to /Applications/Emacs.app/Contents/MacOS/Emacs-arm64-12. This did not work, and I got the error
dyld: Library not loaded: @executable_path/lib-arm64-12/libgnutls.30.dylib Referenced from: /opt/homebrew/bin/emacs Reason: image not found
Maybe some UNIX savvy member of our community can find a clean way to fix this.