Attached patch for handwrite.el: * also process lines not ending with \n * replace some position-fiddling with different logic * improve performance Best wishes! -- Markus