help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: revert-buffer tragedy


From: Adrian Aichner
Subject: Re: revert-buffer tragedy
Date: Sat, 23 Apr 2005 10:01:08 +0200
User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b20 (cilantro, windows-nt)

Lowell Kirsh <address@hidden> writes:

> I just lost hours of work due to a combination of auto-revert-buffer
> and accidentally overwriting a file in my shell. I was working on
> foo.txt in an emacs buffer and accidentally overwrote it from a shell
> prompt while it was open in the buffer. When I went back to emacs, it
> reported that the buffer was reverted and when I tried to undo, it
> said no undo information was available. I've already checked in the
> ~/.backups folder but there is nothing useful there. Any ideas how I
> might be able to recover my work?

Have you looked in auto-save-directory ?

If there's something there, you could try recovering by one of
following commands:

b* recover-all-files              - Do recover-file for all autosave files 
which are current.
b* recover-file                   - Visit file FILE, but get contents from its 
last auto-save file.
b* recover-session                - Recover auto save files from a previous 
Emacs session.

Good Luck,

Adrian

>
> Lowell

-- 
Adrian Aichner
 mailto:address@hidden
 http://www.xemacs.org/


reply via email to

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