The following simple patch seems to fix the problem completely for the program I am experimenting with (GAP). It allows some text to be misfontified, but that text gets erased anyway.
If it works for you too and if there are no objections in the next two days or so, I will install it. ===File ~/comint-b-diff===================================== *** comint.el 26 May 2005 09:05:21 -0500 1.319 --- comint.el 07 Jun 2005 17:57:09 -0500 *************** *** 1547,1554 **** nil comint-last-input-start comint-last-input-end nil comint-last-input-end (+ comint-last-input-end echo-len)))) ! (delete-region comint-last-input-end ! (+ comint-last-input-end echo-len))))) ;; This used to call comint-output-filter-functions, ;; but that scrolled the buffer in undesirable ways. --- 1547,1555 ---- nil comint-last-input-start comint-last-input-end nil comint-last-input-end (+ comint-last-input-end echo-len)))) ! (let ((inhibit-read-only t)) ! (delete-region comint-last-input-end ! (+ comint-last-input-end echo-len)))))) ;; This used to call comint-output-filter-functions, ;; but that scrolled the buffer in undesirable ways. ============================================================ _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel