unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Denis Bueno <dbueno@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: revert-buffer tragedy
Date: Sat, 23 Apr 2005 00:48:54 -0400	[thread overview]
Message-ID: <6dbd4d0005042221482979fc0f@mail.gmail.com> (raw)
In-Reply-To: <d4cb61$am1$1@mughi.cs.ubc.ca>

On 4/22/05, Lowell Kirsh <lkirsh@cs.ubc.ca> wrote:
> Any ideas how I might be able to
> recover my work?

Not quite sure I can help you recover it, but, I have some very
paranoid settings in my .emacs to avoid just this situation. If you
don't have something like the following, adding them will prevent such
tragedies in the future.

(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(auto-save-interval 100)              ;backups every 100 keystrokes
...)

;; Backups to central location
(setq make-backup-files      t          ;backup my files
      backup-by-copying      t          ;don't clobber symlinks
      backup-directory-alist '(("." . "~/.emacs.d/saves")) ;don't litter
      delete-old-versions    t
      kept-new-versions      6
      kept-old-versions      2
      version-control        t          ;use versioned backups
      vc-make-backup-files   t          ;make backups for cvs projects
      vc-follow-symlinks     t)

-Denis
PGP: http://pgp.mit.edu:11371/pks/lookup?search=0xA1B51B4B&op=index

  reply	other threads:[~2005-04-23  4:48 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 [this message]
2005-04-23  7:23 ` ken
2005-04-23  8:01 ` Adrian Aichner
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=6dbd4d0005042221482979fc0f@mail.gmail.com \
    --to=dbueno@gmail.com \
    --cc=help-gnu-emacs@gnu.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).