Start emacs intelligently from the command line.