make sure $EDITOR is set