GNU bug report logs - #18141
24.4.50; saving .gz file breaks file coding

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Tue, 29 Jul 2014 07:01:02 UTC

Severity: important

Found in version 24.4.50

Fixed in version 24.3.93

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; saving .gz file breaks file coding
Date: Tue, 29 Jul 2014 15:59:27 +0900
Hi,

Say there is a file containing non-ascii characters like this:

;;; test.el -*- coding: iso-2022-7bit; -*-
(message "ใƒ†ใ‚นใƒˆ")

When I save this to test.el.gz, `buffer-file-coding-system' is
changed to `no-conversion' and I can see the contents are not
encoded (IOW, encoded by `utf-8-emacs') in that file.  This
happens not only with an ELisp file (try the etc/HELLO file).
No problem on Emacs 24.3.

Thanks.

In GNU Emacs 24.4.50.1 (i686-pc-cygwin, GTK+ Version 3.10.7)
 of 2014-07-28 on localhost
Repository revision: 117589 eliz <at> gnu.org-20140727180537-6lspaeedou1tg2xr
Windowing system distributor `The Cygwin/X Project', version 11.0.11501000
Configured using:
 `configure --verbose --with-x-toolkit=gtk3'




This bug report was last modified 10 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.