From: iquiw <iku.iwasa@gmail.com>
To: 48375@debbugs.gnu.org
Subject: bug#48375: coding-system-for-read in net-utils-run-simple is not properly set
Date: Wed, 12 May 2021 18:39:25 +0900 [thread overview]
Message-ID: <CAOAV120hRzG-pDExsfqpQn6-z-h4UJJa_7-e9RsUwJTfMuA4Tg@mail.gmail.com> (raw)
In the following code, `let' binding of `coding-system-for-read'
covers only `erase-buffer' call.
https://emba.gnu.org/emacs/emacs/-/blob/47070ed39eda524d334e5f82dc7f4a50b8d3252c/lisp/net/net-utils.el#L366-375
So it does not affect to executed process and output characters are garbled.
e.g. "M-x ifconfig" on Windows.
`net-utils-run-program' (e.g. "M-x ping") has no problem.
Thanks in advance,
Iku
next reply other threads:[~2021-05-12 9:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 9:39 iquiw [this message]
2021-05-15 8:26 ` bug#48375: coding-system-for-read in net-utils-run-simple is not properly set Eli Zaretskii
2021-05-15 9:32 ` iquiw
2021-05-15 9:39 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOAV120hRzG-pDExsfqpQn6-z-h4UJJa_7-e9RsUwJTfMuA4Tg@mail.gmail.com \
--to=iku.iwasa@gmail.com \
--cc=48375@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.