From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dziulko Newsgroups: gmane.emacs.help Subject: get rid of leftover auto save #files# Date: Thu, 22 Apr 2004 07:00:24 -0700 (PDT) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20040422140024.27624.qmail@web41809.mail.yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0345201454==" X-Trace: sea.gmane.org 1082642674 12300 80.91.224.253 (22 Apr 2004 14:04:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 14:04:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 16:04:24 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 1BGeoR-0003xR-01 for ; Thu, 22 Apr 2004 16:04:23 +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 1BGemk-0001Y0-V2 for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2004 10:02:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BGemA-0001XZ-Ug for help-gnu-emacs@gnu.org; Thu, 22 Apr 2004 10:02:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BGele-0001SR-Bq for help-gnu-emacs@gnu.org; Thu, 22 Apr 2004 10:02:01 -0400 Original-Received: from [66.218.93.143] (helo=web41809.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.30) id 1BGeld-0001Io-Kn for help-gnu-emacs@gnu.org; Thu, 22 Apr 2004 10:01:29 -0400 Original-Received: from [192.68.108.35] by web41809.mail.yahoo.com via HTTP; Thu, 22 Apr 2004 07:00:24 PDT Original-To: emacs 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: , Original-Mime-version: 1.0 Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17853 --===============0345201454== Content-Type: multipart/alternative; boundary="0-1500750280-1082642424=:27061" --0-1500750280-1082642424=:27061 Content-Type: text/plain; charset=us-ascii Hello 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. Thanks in advance. Kevin --------------------------------- Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1500750280-1082642424=:27061 Content-Type: text/html; charset=us-ascii
Hello
 
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.
 
Thanks in advance.
Kevin


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1500750280-1082642424=:27061-- --===============0345201454== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs --===============0345201454==-- 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... From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Roodwriter@core.com" Newsgroups: gmane.emacs.help Subject: Re: get rid of leftover auto save #files# Date: Thu, 22 Apr 2004 16:53:19 -0400 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <108gc9b6chd6794@corp.supernews.com> References: <44vfjrdhft.fsf@be-well.ilk.org> Reply-To: Roodwriter@core.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1082669790 21911 80.91.224.253 (22 Apr 2004 21:36:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 21:36:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 23:36:18 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 1BGlrl-0007lQ-00 for ; Thu, 22 Apr 2004 23:36:18 +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 1BGlKZ-0007UX-0X for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Apr 2004 17:01:59 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!news-hog.berkeley.edu!newsfeed.berkeley.edu!ucberkeley!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.7.1 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 29 Original-Xref: shelby.stanford.edu gnu.emacs.help:122595 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:17884 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17884 Lowell Gilbert wrote: > 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... You could also use dired and type #. This will flag all the auto-save files for deletion. --Rod __________ Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers" and "Boring Stories from Uncle Rod." Both are available at http://www.rodwriterpublishing.com/index.html To reply by e-mail, take the extra "o" out of the name. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: get rid of leftover auto save #files# Date: Fri, 23 Apr 2004 09:42:37 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4089396D.9090400@yahoo.com> References: <44vfjrdhft.fsf@be-well.ilk.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082735212 17862 80.91.224.253 (23 Apr 2004 15:46:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2004 15:46:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 23 17:46:45 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 1BH2sv-0008MX-00 for ; Fri, 23 Apr 2004 17:46:45 +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 1BH2sp-0008Mn-5g for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Apr 2004 11:46:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: news.uni-berlin.de 1082734952 10703277 I 170.207.51.80 ([82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:122625 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:17913 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17913 Lowell Gilbert wrote: > 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] If I understand correctly, killing modified a buffer prompts you with "Buffer file modified; kill anyway (yes or no)?", and if you answer "yes" the auto-save file is automatically deleted. So there should be no need to `M-~' before `C-x k'. But Lowell is presumably exiting emacs with `C-x C-c' (save-buffers-kill-emacs), which prompts you with "Modified buffers exist; exit anyway?" and does not delete the auto-save files. It runs save-some-buffers first, though, which gives the user the chance to type `C-r M-~ q' for each modified buffer -- does that cause the auto-save files to be deleted? Ideally, save-some-buffers would give the user the chance to discard the changes to a buffer (or even to all buffers)... -- Kevin Rodgers 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: Sat, 24 Apr 2004 14:51:45 GMT Organization: Comcast Online Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <44n051h1j2.fsf@be-well.ilk.org> References: <44vfjrdhft.fsf@be-well.ilk.org> <4089396D.9090400@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082818861 3862 80.91.224.253 (24 Apr 2004 15:01:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Apr 2004 15:01:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 24 17:00:54 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 1BHOeE-0005ma-00 for ; Sat, 24 Apr 2004 17:00:54 +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 1BHOe2-0006Nw-Bl for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Apr 2004 11:00:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!wn51feed!worldnet.att.net!attbi_s04.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 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_s04 1082818305 66.30.196.44 (Sat, 24 Apr 2004 14:51:45 GMT) Original-NNTP-Posting-Date: Sat, 24 Apr 2004 14:51:45 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:122664 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:17952 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17952 Kevin Rodgers writes: > But Lowell is presumably I believe this was intended to refer to the original poster, rather than to me. - Lowell From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: get rid of leftover auto save #files# Date: Mon, 26 Apr 2004 11:31:59 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <408D478F.5090000@yahoo.com> References: <44vfjrdhft.fsf@be-well.ilk.org> <4089396D.9090400@yahoo.com> <44n051h1j2.fsf@be-well.ilk.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083001664 7246 80.91.224.253 (26 Apr 2004 17:47:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2004 17:47:44 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 26 19:47:31 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 1BIACZ-0006oD-00 for ; Mon, 26 Apr 2004 19:47:31 +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 1BIABe-0007LB-Hn for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Apr 2004 13:46:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: news.uni-berlin.de 1083000699 13368843 I 170.207.51.80 ([82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:122727 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:18015 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18015 Lowell Gilbert wrote: > Kevin Rodgers writes: >>But Lowell is presumably [...] > > I believe this was intended to refer to the original > poster, rather than to me. Yes, sorry for the confusion. -- Kevin Rodgers