add some extensions for emacs