From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lowell Gilbert Newsgroups: gmane.emacs.help Subject: Re: get rid of leftover auto save #files# Date: Thu, 22 Apr 2004 17:57:10 GMT Organization: Comcast Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <44vfjrdhft.fsf@be-well.ilk.org> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082657527 24428 80.91.224.253 (22 Apr 2004 18:12:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 18:12:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 20:12:01 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGig5-00085K-00 for ; Thu, 22 Apr 2004 20:12:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGiXA-00068V-Kd for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2004 14:02:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn51feed!worldnet.att.net!attbi_s02.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-NNTP-Posting-Host: 66.30.196.44 Original-X-Complaints-To: abuse@comcast.net Original-X-Trace: attbi_s02 1082656630 66.30.196.44 (Thu, 22 Apr 2004 17:57:10 GMT) Original-NNTP-Posting-Date: Thu, 22 Apr 2004 17:57:10 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:122584 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17869 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17869 Kevin Dziulko writes: > When I decide to abandon changes made to a buffer. I exit emacs without saving the file. It asks "Modified buffers exist; exit anyway?" I answer yes. Now I have an auto save #file# file there. How can I not get these files in this scenario? I want to keep auto save on because of it's many benefits. I usually mark the file as unmodified before killing it. [M-~ in the default configuration] I suppose you could use the kill-buffer-hook or some related hook to do this automatically...