Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 6 down vote accepted

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

alias emacs='emacs -nw'
share|improve this answer
Yeah that did it. Note the space between alias emacs and the lack of space between emacs=''. At first it wasn't working, it's a sensitive command. Also, this had to go in .bashrc. – Droogans May 5 '12 at 14:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.