Subject: bug#30059: 25.3; Wrong value for comint-process-echoes will cause comint-send-input to hang

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 13 Aug 2021 14:55:05 +0200

Richard Sharman <[email-masked]> writes:

> I’ve been hit by this a few times and it’s quite annoying.  Starting
> from emacs -Q evaluate the following 2 lines
>
> (setq comint-process-echoes t)
> (shell)
>
> then at the shell command enter “cat -n” .  This completely locks up
> emacs (at least under macos 10.13); control-G and control-C have no
> effect; the emacs process has to be killed.

I can reproduce this in Emacs 27.1, but `C-g' works fine in Emacs 28 (at
least in Debian).

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