run mr commands from within emacs