detect mode in elisp
some more lisp basics