Mac – make Emacs start in text-terminal mode (no window, like `emacs -nw`) by default


I don't want to get sidetracked too much here, but emacs -nw (in my opinion) ought to open a graphical instance of emacs, with a popup. However, foregoing the -nw switch will bring up the GUI, and an embedded CLI version is implied by the new window switch?

Anyway, can I make this


run as this

emacs -nw

and keep my business on the command line, where I've grown to like it?


Best Answer

I think -nw stands for no window. Anyway you could make a shell alias, eg in bash

alias emacs='emacs -nw'