From: Eli Zaretskii <eliz@gnu.org>
To: Simon Peyton Jones <simonpj@microsoft.com>
Cc: jwiegley@gmail.com, 24741@debbugs.gnu.org
Subject: bug#24741: 25.1.50; Buffer encoding corrupted up by 'make' in shell-mode
Date: Thu, 20 Oct 2016 10:14:55 +0300 [thread overview]
Message-ID: <8337jrv6ds.fsf@gnu.org> (raw)
In-Reply-To: <BN6PR21MB064442C435310DAF24CF510BADD20@BN6PR21MB0644.namprd21.prod.outlook.com> (message from Simon Peyton Jones on Wed, 19 Oct 2016 19:07:44 +0000)
> From: Simon Peyton Jones <simonpj@microsoft.com>
> Date: Wed, 19 Oct 2016 19:07:44 +0000
>
> It's not 'make' per se; for example 'make --version' or 'make boot' (which does nothing) is fine. The invocation of make that causes the funny quotes to appear invokes Python, if that helps.
>
> Deeply mysterious.
>
> If I start a new shell, I get quotes looking nice again. Could something in the shell environment be affected by invoking python?
There aren't enough data in the report, only hints. The image posted
by John indicates a Unixy shell is also involved, so it could be some
issue with the shell itself or its environment (I'm guessing the shell
is either a Cygwin or an MSYS2 Bash, which might mean the Emacs setup
of running them involves setting some coding-systems to UTF-8, for
example).
Then there are 'make' and Python, which are somehow related, but it's
unclear how, due to lack of a complete description.
In general, this looks like UTF-8 output by a subprocess gets decoded
using the Windows codepage. But it's impossible to tell where exactly
is the problem without knowing the details.
IOW, a reproducible recipe, starting from "emacs -Q", and including
only those customizations that are needed for the reproduction, is
necessary to analyze this problem. It is most likely a problem either
with user customization of the coding-systems, or with some subtle
incompatibility between Cygwin/MSYS programs and the native Windows
build of Emacs.
next prev parent reply other threads:[~2016-10-20 7:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-19 17:32 bug#24741: 25.1.50; Buffer encoding corrupted up by 'make' in shell-mode John Wiegley
2016-10-19 19:07 ` Simon Peyton Jones
2016-10-20 7:14 ` Eli Zaretskii [this message]
2016-10-20 19:19 ` John Wiegley
2016-10-21 6:42 ` Eli Zaretskii
2016-10-21 21:20 ` Simon Peyton Jones
2016-10-22 7:17 ` Eli Zaretskii
2016-12-07 20:29 ` Glenn Morris
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=8337jrv6ds.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24741@debbugs.gnu.org \
--cc=jwiegley@gmail.com \
--cc=simonpj@microsoft.com \
/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.