unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48375: coding-system-for-read in net-utils-run-simple is not properly set
@ 2021-05-12  9:39 iquiw
  2021-05-15  8:26 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: iquiw @ 2021-05-12  9:39 UTC (permalink / raw)
  To: 48375

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-15  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-12  9:39 bug#48375: coding-system-for-read in net-utils-run-simple is not properly set iquiw
2021-05-15  8:26 ` Eli Zaretskii
2021-05-15  9:32   ` iquiw
2021-05-15  9:39     ` Eli Zaretskii

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).