From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Denis Bueno Newsgroups: gmane.emacs.help Subject: Re: revert-buffer tragedy Date: Sat, 23 Apr 2005 00:48:54 -0400 Message-ID: <6dbd4d0005042221482979fc0f@mail.gmail.com> References: Reply-To: Denis Bueno NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1114231688 23008 80.91.229.2 (23 Apr 2005 04:48:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2005 04:48:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 23 06:48:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DPCYg-0006Au-8f for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Apr 2005 06:47:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPCdi-00024d-Qu for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Apr 2005 00:53:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DPCdV-00024O-Gg for help-gnu-emacs@gnu.org; Sat, 23 Apr 2005 00:52:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DPCdU-00024C-2c for help-gnu-emacs@gnu.org; Sat, 23 Apr 2005 00:52:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DPCdT-0001ss-VW for help-gnu-emacs@gnu.org; Sat, 23 Apr 2005 00:52:56 -0400 Original-Received: from [64.233.184.197] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DPCcK-0007dM-5u for help-gnu-emacs@gnu.org; Sat, 23 Apr 2005 00:51:44 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so1005584wra for ; Fri, 22 Apr 2005 21:48:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=M8za2cpvcpTolBcnnd124TjcjmGWBl7kT96J+14gHpWUps7PC8AN1dqL0v4ac1IcpVQdP7UVIXlkD8xcBQP8yIk4SBWpk/gQct5A022ZQ2JnyEUDHbP1Jk4OVb7eIuGUXoPhFm5evYJWOkJ0TR0zREvigDCIzOWWzINO8OOeZdc= Original-Received: by 10.54.6.4 with SMTP id 4mr843617wrf; Fri, 22 Apr 2005 21:48:54 -0700 (PDT) Original-Received: by 10.54.43.7 with HTTP; Fri, 22 Apr 2005 21:48:54 -0700 (PDT) Original-To: Lowell Kirsh In-Reply-To: Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25980 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25980 On 4/22/05, Lowell Kirsh 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=3D0xA1B51B4B&op=3Dindex