make emacs runnable in the terminal
Merge pull request #159 from tonini/topic/run_emacs_in_terminal

make emacs runnable in the terminal