unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: John Wiegley <jwiegley@gmail.com>
To: 24741@debbugs.gnu.org
Cc: Simon Peyton Jones <simonpj@microsoft.com>
Subject: bug#24741: 25.1.50; Buffer encoding corrupted up by 'make' in shell-mode
Date: Wed, 19 Oct 2016 10:32:36 -0700	[thread overview]
Message-ID: <m2shrsnt1n.fsf@newartisans.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 374 bytes --]

I have a friend who is using Emacs 24.5 on Windows, and who is experiencing a
strange behavior: Unicode quotes display properly, but after *invoking* a
'make' command -- even with its output fully redirected to a file -- buffer
decoding begins to fail, causing later quotes to be display as escape codes.

I'm attaching a screenshot from his machine, to show the behavior:


[-- Attachment #1.2: Untitled.png --]
[-- Type: image/png, Size: 743095 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 452 bytes --]


Note that in a fresh shell, cat'ing the saved file (test-output) does NOT mess
up the quotes. So it's a mysterious side-effect of calling 'make'. Also,
saying 'make xxxx' where xxxx is not a valid target, produces the appropriate
error message and does not mess up the quotes.

Any ideas?

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 629 bytes --]

             reply	other threads:[~2016-10-19 17:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-19 17:32 John Wiegley [this message]
2016-10-19 19:07 ` bug#24741: 25.1.50; Buffer encoding corrupted up by 'make' in shell-mode Simon Peyton Jones
2016-10-20  7:14   ` Eli Zaretskii
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

  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=m2shrsnt1n.fsf@newartisans.com \
    --to=jwiegley@gmail.com \
    --cc=24741@debbugs.gnu.org \
    --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 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).