From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40022 Path: main.gmane.org!not-for-mail From: "Matt Armstrong" Newsgroups: gmane.emacs.gnus.general Subject: Re: Is this a buglet.. nndrafts:draft renegades Date: Mon, 05 Nov 2001 10:19:51 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <87668pf83s.fsf@squeaker.lickey.com> References: <20011102214600.0ED71BD48@squeaker.lickey.com> <2nk7x7vr6n.fsf@zsh.cs.rochester.edu> <20011103193251.CBC04BD25@squeaker.lickey.com> <87ady3ef1u.fsf@squeaker.lickey.com> <87elneqtf8.fsf@harpo.homeip.net> <87668qibri.fsf@squeaker.lickey.com> <87ady2qo6h.fsf@harpo.homeip.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175638 31059 80.91.224.250 (21 Oct 2002 04:47:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:47:18 +0000 (UTC) Return-Path: Original-Received: (qmail 21569 invoked from network); 5 Nov 2001 17:22:02 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 5 Nov 2001 17:22:02 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 160nQQ-00041w-00; Mon, 05 Nov 2001 11:20:42 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 05 Nov 2001 11:20:22 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA12723 for ; Mon, 5 Nov 2001 11:20:07 -0600 (CST) Original-Received: (qmail 21542 invoked by alias); 5 Nov 2001 17:20:11 -0000 Original-Received: (qmail 21537 invoked from network); 5 Nov 2001 17:20:10 -0000 Original-Received: from hank.lickey.com (64.81.100.235) by gnus.org with SMTP; 5 Nov 2001 17:20:10 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 03540EE34 for ; Mon, 5 Nov 2001 10:19:55 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id 45980BD48 for ; Mon, 5 Nov 2001 10:19:55 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id 6E247BD36; Mon, 5 Nov 2001 10:19:54 -0700 (MST) Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Mon, 05 Nov 2001 12:06:40 -0500") Original-Lines: 41 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-debian-linux-gnu) X-Delivery-Agent: TMDA v0.40/Python 1.5.2 (linux2) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40022 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40022 prj@po.cwru.edu (Paul Jarc) writes: > Samuel Padgett wrote: >> "Matt Armstrong" writes: >>> Samuel Padgett writes: >>>> But what if I accidentally kill a buffer while composing a message I >>>> haven't saved? There would be no way to recover the message. >>> >>> Emacs will prompt you with "Buffer X modified; kill anyway?" -- I >>> think that is good enough. >> >> No, I disagree. If I do this to a C source file, I can always recover >> my changes using the autosave file. > > No, you can't. That autosave file is deleted when you kill the > buffer. At least, that's what I see. Maybe this is a result of > something weird in my .emacs, but I'm not seeing it. > > It will always be possible for you to shoot yourself in the foot. Any > tool that makes that impossible also makes it impossible to do > anything useful. Samuel, could you be thinking of the backup file and not the autosave file? The autosave file: - for file "foo" is called "#foo#" - contain recent edits that have not yet been saved - is deleted whenever you save or kill a buffer - if you open the "foo" file when "#foo#" exists on disk, you get warned about possibly wanting to run M-x recover-file. The backup files: - for file "foo" are called "foo~" - contain the contents of the file before your most recent save - remain on disk whenever you save or kill a buffer -- matt