Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

emacs myfunscript.py

run as this

emacs myfunscript.py -nw

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

Thanks.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .