more functionality for emacs