some routines for compatibility with emacs lisp
