added emacs extensions