> (defun python-preoutput-filter (s) > "`comint-preoutput-filter-functions' function: ignore prompts not at > bol." > (cond ((and (string-match (rx (and string-start (repeat 3 (any ".>"))
I see you've reverted to the basic code and thus removed the while loop I had added. I guess it's OK so long as we know we'll only be waiting for one line of output at a time. Also the loop was already missing before anyway. I installed a slightly different patch (halfway between yours and mine). Can you try it? Your code special-cased the case when the emacs_out line is cut, but what is really happenning is that we may receive Python's output in chunks of arbitrary sizes: from one-byte at a time to several lines at a time (depending on many different factors), so the problem exists for all kinds of output. Stefan _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug