Lowell Kirsh wrote: > 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? > > Lowell
An autosave file has saved my keister a few times. Look for a file in the same directory with the same filename except wrapped with pound signs (#). Doing "ls -a \#*" should show it. In emacs you could simply visit the trashed file and do M-x recover-file and reply with the filename. Good luck. hth, ken -- A lot of us are working harder than we want, at things we don't like to do. Why? ...In order to afford the sort of existence we don't care to live. -- Bradford Angier _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs