How to start “emacsformacosx” in terminal. Ask Question Asked 8 years, 2 months ago. Active 7 years, 1 month ago. But I want to visit my kid. Aquamacs is an Emacs for Mac OS X that will feel mostly like an Aqua program - while still being a real GNU Emacs with all the ergonomy and extensibility you've come to expect from this world-class editor.
Here are some tips and tricks on setting up Emacs.app on Mac OS X. Theseare based on my personal experience of using Emacs.app for the past 10 yearsor so; there may be better ways, but these work for me.
Running Emacs.app from the command line
Call this script 'emacs' and put it somewhere in your PATH (~/bin or /usr/local/bin):
Using emacsclient
Make sure the latest emacsclient binary is in your path:
Call this script 'ec' and put it somewhere in your PATH (~/bin or /usr/local/bin):
Add 'alias emacs=ec' or 'alias emacsclient=ec' to your '.bashrc'. Or just use ec directly.
Using Emacs as the mergetool for git
Add add this snippet to your .gitconfig:
If you want to use emacsclient, add this snippet instead:
Changing the Modifier Keys
Easy
The easiest way is to use the Customize interface: 'M-x customize-group RET ns RET'.
Hard
If you don't like Customize and want to do it manually, the following variables control the modifier keys:
ns-alternate-modifier
ns-command-modifier
ns-control-modifier
ns-function-modifier
ns-option-modifier (just a different name for ns-alternate-modifier)
ns-right-alternate-modifier
ns-right-command-modifier
ns-right-control-modifier
ns-right-option-modifier
Each variable can be set to 'control, 'meta, 'alt, 'super, or 'hyper.
Emacs For Mac
In addition ns-alternative-modifier (and ns-option-modifier) can be setto 'none, which lets it get interpreted by the OS so it can be used toinput special characters.
Emacs Mac Port
The ns-right-* variables are set to 'left by default which makes them thesame as their left counterpart. Home assistant on router.
Verifying the Binary Integrity
This site serves the binaries via SSL and while the binaries are not GPG signed, the application is code signed. You can verify the signature like this:
Or, if you haven't installed emacs yet, but have mounted the disk image:
Look for the following in the output:
Mac Emacs 27
'Galvanix' is my consulting partnership and is what I registered my Apple developer account under. If you see that, the binary is intact.