Subject: bug#3735: shell-mode editing, movement, and command entry broken by prompt/output changes

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 04 Dec 2021 22:15:13 +0100

Chong Yidong <[email-masked]> writes:

> I was going through old emails and just saw this; sorry for the huge
> delay in triaging this bug.
>
> For what it's worth, I can't reproduce the original bug recipe on Emacs 25.2:
>
> - At command prompt in shell mode ...
> - Insert "echo ls".
> - Type RET.
> - (Emacs submits whole command line "echo ls".)
> - (Shell gives output line "ls".)
> - Go up to output line "ls" (C-p).
> - Go to end of output line (C-e).
> - Insert " -la".
> - Type RET.
>
> The original bug report says
>
>      3.5 PROBLEM: Note that Emacs submits just " -la", instead of whole
>          command line "ls -la" (as intended, expected, and in Emacs 20).
>
> Instead, I see the output of ls -la.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I'm not able to reproduce this problem in Emacs 29, either.

Don, are there any additional steps needed to reproduce the problem
(starting from "emacs -Q")?

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