add editor script to allow for emacs running as a daemon