Subject: Re: bug#45951: 27.1; comint-redirect-results-list-from-process sometimes fails to skip over command if echoed

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 19 Jan 2021 05:03:54 +0100

Richard Sharman <[email-masked]> writes:

> The latter problem can be fixed by calling comint-carriage-motion before
> the test is done; the former by looking-at (regexp-quote command)
> instead of just at command.

This bit seems to have been fixed in Emacs 28.

> Example code to reproduce the problem:

When testing your example code in Emacs 27, I just get the following
error:

comint-redirect-send-command-to-process: No prompt found or ‘comint-prompt-regexp’ not set properly

Do you have a recipe, starting from "emacs -Q"?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no