use STRINGP, SYMBOLP in ns_lisp_to_cursor_type