I like to use emacs as my configuration editor, so it is the default for programs like
cron. So I used
sudo update-alternatives --config editor
And chose emacs24 from the list.
Unlike Vim or nano, this launches emacs as a new gui application, rather than taking over the current terminal window.
Is there a way to make emacs open in the terminal as a configuration editor, or maybe when it is invoked from the command line, but still allow for launching emacs as a stand-alone application from the launcher or dash?