Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.