From xemacs-m  Fri May 30 05:26:20 1997
Received: from sicmail.epfl.ch (sicmail.epfl.ch [128.178.50.31])
	by xemacs.org (8.8.5/8.8.5) with SMTP id FAA17597
	for <xemacs-beta@xemacs.org>; Fri, 30 May 1997 05:26:17 -0500 (CDT)
Received: from lspsun16.epfl.ch by sicmail with SMTP (PP);
          Fri, 30 May 1997 12:14:43 +0200
Received: by lspsun16.epfl.ch (5.x/Epfl-4.9-c/MX) id AA26605;
          Fri, 30 May 1997 12:17:31 +0200
To: Xemacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: no-conversion trashes compressed files
X-Attribution: Oscar
X-Face: &f0TVPZirOQ$"C[5pZkDY(1~+M1p0&edTtJPL-*?u$b(vr<1m?~iZBqp2YoDS[IyxDHV<MN 
        x;/;<I]H;2OOZd:+cj^}L-,Hixp!@].>U~)KHl|Kpm"='5OF?vT]k_HQ1]|^}Pm>,;+]iJCt_-Y[S\ 
        EpwT);2R8#[4dt8~*}&#3$6xI4jNZM9lVHua'vIM[PEx*#cgxCVruf1zN0}
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
Date: 30 May 1997 12:17:29 +0200
Message-Id: <o97d8q9i7ra.fsf@lspsun16.epfl.ch>
Lines: 19
X-Mailer: Gnus v5.4.52/XEmacs 20.2


In XEmacs 20.2 buffer-file-coding-system-alist says that no-conversion should
be used for .gz and .Z files but this completely corrupts the files. The Lispref
says :

`no-conversion'
     No conversion.  Use this for binary files and such.  On output,
     graphic characters that are not in ASCII or Latin-1 will be
     replaced by a `?'. (For a no-conversion-encoded buffer, these
     characters will only be present if you explicitly insert them.)

Well, replacing characters with `?' when the coding-system name says
no-conversion may be good in certain cases (though I have serious doubts about
it) but for zipped files it's certainly not. I changed no-conversion to binary
in buffer-file-coding-system-alist for .Z and .gz and it works much better. 

What's the right thing to do here ?

Oscar

