Subject: bug#55978: 29.0.50; shell-resync-dirs inf-loops if tty outputs CRNL

From: Eli Zaretskii <[email-masked]>
Date: Tue, 14 Jun 2022 21:32:19 +0300

> Date: Tue, 14 Jun 2022 20:01:30 +0200
> From: miha--- via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> In M-x shell, execute "stty -nl" to make the tty translate \n into \r\n
> on output, and press "M-RET" (shell-resync-dir).

I guess this requires to set coding-system for reading the shell
output to -dos?