From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: My tex file became chaos code without any sake when I reopen it. Date: Mon, 11 Dec 2006 09:54:57 +0900 Message-ID: References: <20061210135952.GA6086@localdomain> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1165798444 3705 80.91.229.10 (11 Dec 2006 00:54:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Dec 2006 00:54:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 11 01:54:01 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GtZQe-0007mK-Gn for ged-emacs-devel@m.gmane.org; Mon, 11 Dec 2006 01:54:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtZQe-0006o2-25 for ged-emacs-devel@m.gmane.org; Sun, 10 Dec 2006 19:54:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GtZQP-0006lg-MO for emacs-devel@gnu.org; Sun, 10 Dec 2006 19:53:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GtZQO-0006kn-Pe for emacs-devel@gnu.org; Sun, 10 Dec 2006 19:53:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtZQO-0006kd-L6 for emacs-devel@gnu.org; Sun, 10 Dec 2006 19:53:44 -0500 Original-Received: from [150.29.246.133] (helo=mx1.aist.go.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GtZQO-0008OW-DV for emacs-devel@gnu.org; Sun, 10 Dec 2006 19:53:44 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id kBB0raqB022414; Mon, 11 Dec 2006 09:53:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id kBB0rZsu029125; Mon, 11 Dec 2006 09:53:35 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id kBB0rZvp023523; Mon, 11 Dec 2006 09:53:35 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.63) (envelope-from ) id 1GtZRZ-0006pU-3n; Mon, 11 Dec 2006 09:54:57 +0900 Original-To: Hongyi Zhao In-reply-to: <20061210135952.GA6086@localdomain> (message from Hongyi Zhao on Sun, 10 Dec 2006 21:59:52 +0800) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.91 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63554 Archived-At: In article <20061210135952.GA6086@localdomain>, Hongyi Zhao writes: > I encountered a strange thing, the attached is my tex file which I reopen it > when I restart my PC, but I find it becomes chaos codes, whose default > encoding scheme is GB18030. I've used all the methods to revert it but all > these methods like water off a duck's back. > Sigh. It this a bug of Emacs, or anything I don't know? Who can tell me? If that file was sane before saving and became insane after saving, it is surely Emacs' bug. Anyway, the file contains only NULL bytes after line 586, and from only that broken file, I have no idea what is wrong. So, could you please find a simple test file; which can be read correctly by Emacs, but can't be written correctly by Emacs --- Kenichi Handa handa@m17n.org