Introducing M-x.app
I am frustrated with the quality of recent macOS. The liquid ass pushes me over the edge.
Emacs is pretty great, it always has been. but macOS? It was great, not so much recently. I'd really like to fill up more of my workspace with Emacs goodness and deal with less of the macOS interface getting in the way.
A thought comes to mind: Can I use Emacs as my UI to the OS?emacsclient enables me to open up an emacs frame anywhere in the system. That's good!org-protocol is pretty awesome too, but it's always a struggle to setup an "app" that can react to a special callback url.Screw it, I will make the app then.
- M-x.app
- the bridge between macOS and Emacs world via callback URL.
See details in the project page.
The way it works is pretty simple, it is simply a messenger from macOS to emacs. I intentionally make it minimal to avoid making any decisions for the user.
It supports emacs://<action> callback url. Currently it supports 2 actions:
- open
- simply open a file in emacs
- eval
- oh, this is the main show, it eval arbitrary elisp scripts. you can use file path too.
The result is pretty amazing, for a solution this simple. Let me know if it works for you.