used for emacs