From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 55978@debbugs.gnu.org
Subject: bug#55978: 29.0.50; shell-resync-dirs inf-loops if tty outputs CRNL
Date: Tue, 14 Jun 2022 21:20:15 +0200 [thread overview]
Message-ID: <87a6af3vdc.fsf@miha-pc> (raw)
In-Reply-To: <83r13rrt8s.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 604 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Tue, 14 Jun 2022 20:01:30 +0200
>> From: miha--- via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>> 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?
That could be an option, though I was thinking of a bit less invasive
and more local fix by performing a simple replace-regexp at the end of
the function `shell-eval-command'.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
next prev parent reply other threads:[~2022-06-14 19:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-14 18:01 bug#55978: 29.0.50; shell-resync-dirs inf-loops if tty outputs CRNL miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-14 18:32 ` Eli Zaretskii
2022-06-14 19:20 ` miha--- via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-06-14 19:17 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6af3vdc.fsf@miha-pc \
--to=bug-gnu-emacs@gnu.org \
--cc=55978@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=miha@kamnitnik.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).