all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Piet van Oostrum <piet@cs.uu.nl>
Subject: Re: My tex file became chaos code without any sake when I reopen it.
Date: Mon, 11 Dec 2006 21:06:57 +0100	[thread overview]
Message-ID: <m2irgiurha.fsf@ordesa.cs.uu.nl> (raw)
In-Reply-To: <20061210135952.GA6086@localdomain> (Hongyi Zhao's message of "Sun\, 10 Dec 2006 21\:59\:52 +0800")

>>>>> Hongyi Zhao <hongyi.zhao@gmail.com> (HZ) wrote:

>HZ> Dear Kenichi and others,
>HZ> I encountered a strange thing, the attached is my tex file which I reopen it
>HZ> when I restart my PC, but I find it becomes chaos codes, whose default
>HZ> encoding scheme is GB18030.  I've used all the methods to revert it but all
>HZ> these methods like water off a duck's back.

>HZ> Sigh.  It this a bug of Emacs, or anything I don't know?  Who can tell me?

It typically looks like some file corruptions that I have met occasionally.
It happened to me when I run out of diskspace. Then there isn't enough
swapspace available and virtual memory allocation may fail. I think that
Emacs doesn't check properly if a malloc fails and then corrupts its memory
when a malloc fails. I have no idea if that might be the cause of your
memory corruption, but I have had several times (let's say once a month)
file corruptions.
-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet@vanoostrum.org

  parent reply	other threads:[~2006-12-11 20:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-10 13:59 My tex file became chaos code without any sake when I reopen it Hongyi Zhao
2006-12-11  0:54 ` Kenichi Handa
2006-12-11  3:04   ` Hongyi Zhao
2006-12-11 20:06 ` Piet van Oostrum [this message]
2006-12-12 14:29   ` Richard Stallman
2006-12-24 21:44     ` Piet van Oostrum
2006-12-25 16:53       ` Richard Stallman
2006-12-13  1:00   ` Kenichi Handa
2006-12-13 12:34     ` Piet van Oostrum

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2irgiurha.fsf@ordesa.cs.uu.nl \
    --to=piet@cs.uu.nl \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.