Lowell Kirsh <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
 http://www.xemacs.org/
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to