unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Adrian Aichner <adrian@xemacs.org>
Subject: Re: revert-buffer tragedy
Date: Sat, 23 Apr 2005 10:01:08 +0200	[thread overview]
Message-ID: <acnpncqj.fsf@smtprelay.t-online.de> (raw)
In-Reply-To: d4cb61$am1$1@mughi.cs.ubc.ca

Lowell Kirsh <lkirsh@cs.ubc.ca> 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:adrian@xemacs.org
 http://www.xemacs.org/

  parent reply	other threads:[~2005-04-23  8:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-23  2:16 revert-buffer tragedy Lowell Kirsh
2005-04-23  4:48 ` Denis Bueno
2005-04-23  7:23 ` ken
2005-04-23  8:01 ` Adrian Aichner [this message]
2005-04-24  0:32 ` Lowell Kirsh
2005-04-24  0:49 ` Luc Teirlinck

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=acnpncqj.fsf@smtprelay.t-online.de \
    --to=adrian@xemacs.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).