Subject: Re: bug#71778: 30.0.60; Eshell hangs when switching buffers during output redirection
From: Jim Porter <[email-masked]>
To: Sean Devlin <[email-masked]>, [email-masked]
Date: Tue, 25 Jun 2024 21:45:56 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 30.1

On 6/25/2024 1:50 PM, Sean Devlin wrote:
> I've found it is possible to Eshell in the middle of a command. Here's a
> recipe:
[snip]
> $ for x in 1 2 3 4 5 { echo hello ; sleep 2 } > #<buffer test>
> 
> 4. While the above command is running, C-x b test
> 5. C-x b *eshell*

Tricky! But thankfully it was an easy fix. We just needed to make sure 
that when cleaning up in a timer after 'eshell-sentinel', we always do 
it from the Eshell buffer.

Fixed on both the master branch and the release branch, with a 
regression test.