How to uninstall Emacs on Mac
GNU Emacs may load ~/.emacs.d/init.el, ~/.config/emacs/init.el, ~/.emacs or ~/.emacs.el. Check which init file you use, and copy that file, packages and snippets before removing editor configuration. Keep edited projects in their original directories. The Homebrew cask’s zap list omits ~/.emacs.d, but Mole may show it for review.
The recorded test used the official Mac package; the Homebrew route below is separate.
Remove the app
Quit graphical Emacs and move Emacs.app from Applications to Trash. If you run a separate Emacs daemon or command-line installation, stop and assess that installation separately. Do not remove ~/.config or your whole home dotfile tree to uninstall this app.
Review local data
The path below is documented by the vendor. In Finder, use Go › Go to Folder to inspect it. Do not remove its parent directory or another product’s data.
| Location | Decision |
|---|---|
~/.emacs.d |
Possible Emacs configuration and package directory from the GNU manual. Mole lists it for review; keep it if another Emacs installation uses it. |
The tested package uses bundle ID org.gnu.Emacs. Review only files that actually appear on this Mac. A missing path needs no cleanup.
Check what remains
Run these read-only commands after quitting the app:
pgrep -il 'Emacs'
ls -d "$HOME/.emacs.d"
No process output means there is no matching process running now; it does not prove every helper is gone. A listed process needs its owner checked. If ls prints the path, that item remains and needs review. “No such file or directory” means this path is absent; a permission error means its state was not established.
If you installed it with Homebrew
The current emacs-app cask has a zap list covering org.gnu.Emacs cache, preferences and saved window state; it does not name ~/.emacs.d. A direct brew command with --zap applies the cask list without consulting Mole’s checkboxes. After backing up, use this command without --zap:
brew uninstall --cask emacs-app
Mole checks each zap path against your selections, other installed apps, and protected locations. An unchecked, shared, or unverifiable path suppresses --zap; selected remnants can still use Mole’s own removal flow. This cask was not the recorded installation channel.
What Mole lists
Mole lists ~/.emacs.d as an unchecked review row when it exists. Exact org.gnu.Emacs preferences are selected by default. It does not generate a broad ~/.emacs* cleanup pattern and cannot infer which init file a separate CLI Emacs uses.
What this test covered
The official universal Emacs.app 31.1 from emacsformacosx was removed on September 21, 2026. The review showed only the app and preferences. An empty ~/.emacs.d was not listed in that run; the review rule was added later. No user configuration or project was tested.
