0) save the attached file as crash.el 1) emacs -Q crash.el 2) M-x eval-buffer Or, if you prefer, evaluate the first two lines sequentially. The document is inserted (as far as I can tell) correctly if I run emacs -nw