[Top][All Lists]

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

Re: recover file

From: Eli Zaretskii
Subject: Re: recover file
Date: Sat, 15 Sep 2001 15:06:49 +0300

> From: zionic@omnidimension.com
> Date: Sat, 15 Sep 2001 12:39:23 +0200
> Content-Type: text/plain; charset=US-ASCII
> Content-Length: 1961
> I got the message that a file I tried to recover, creature.c is not
> "current". My machine crashed, and I know it is current. There was
> about an hours work in that file, and when I tried to recover it, this
> program even deleted the file #creature.c" when it decided it was 
> not current. That's not very nice.

I just looked at the function recover-file, and it never deletes the
file, just signals an error if it finds the time stamp of the file to
be older than the main file.

Can you reproduce what did you type when Emacs deleted the file
#creature.c#?  This could have happened if you tried to save the file
creature.c, because Emacs always deletes the auto-save file when you
save the buffer.  (That's why the auto-save file only stays on disk if
Emacs crashed or you exit Emacs without saving your edits.)

Anyway, did you try to recover the deleted file from the Recycle Bin?
It might still be there.

reply via email to

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