Fprint uses PRINTPREPARE which will try to set point at the marker position:
if (MARKERP (printcharfun)) \ { \ ... SET_PT_BOTH (marker_position (printcharfun), \ marker_byte_position (printcharfun)); \ I think the error is here. At least, this is one error. It's a bug to set point to a value outside the buffer bounds. So this code has to check for that. Strictly speaking, Feval_region ought to handle output into other parts of the buffer outside the region to be evaluated. But I don't think it is crucial to make that work. _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug