added some new stuff to emacs