bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24741: 25.1.50; Buffer encoding corrupted up by 'make' in shell-mode


From: Simon Peyton Jones
Subject: bug#24741: 25.1.50; Buffer encoding corrupted up by 'make' in shell-mode
Date: Fri, 21 Oct 2016 21:20:34 +0000

Thanks everyone.  It's a bizarre bug!  But it's one that does make my life a 
lot worse, because my compiler's error messages are littered with quotes, each 
of which turns into 12 characters of encoding, as you can see.

If you want me to try emacs -Q, just let me know how to do that and what info 
to collect.  I've never done that before.

Customisations. In my .emacs I have the following, which John Wiegley gave to 
me in the first place

(setq-default locale-coding-system 'utf-8-unix)
(setq-default buffer-file-coding-system 'utf-8-unix)
(set-default-coding-systems 'utf-8-unix)
(set-terminal-coding-system 'utf-8-unix)
(set-keyboard-coding-system 'utf-8-unix)
(set-selection-coding-system 'utf-8-unix)
(prefer-coding-system 'utf-8-unix)

(defun utf8-shell ()
  (interactive)
  (set-default-coding-systems 'utf-8-unix)
  (shell))

(setq w32-get-true-file-attributes nil)

Simon


|  -----Original Message-----
|  From: Eli Zaretskii [mailto:eliz@gnu.org]
|  Sent: 21 October 2016 07:43
|  To: John Wiegley <jwiegley@gmail.com>
|  Cc: Simon Peyton Jones <simonpj@microsoft.com>; 24741@debbugs.gnu.org
|  Subject: Re: bug#24741: 25.1.50; Buffer encoding corrupted up by
|  'make' in shell-mode
|  
|  > From: John Wiegley <jwiegley@gmail.com>
|  > Cc: Simon Peyton Jones <simonpj@microsoft.com>,
|  24741@debbugs.gnu.org
|  > Date: Thu, 20 Oct 2016 12:19:30 -0700
|  >
|  > Eli makes an excellent point: We should try starting Emacs with the
|  -Q
|  > flag next, and attempt a reproduction following the same steps.
|  
|  Actually, posting here the relevant parts of Simon's customizations
|  (the ones that are related to coding-systems and to running shells)
|  might also help identify the probable causes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]