rewrite impatient emacs