move the wrapper to emacs-helper