* get rid of leftover auto save #files#
@ 2004-04-22 14:00 Kevin Dziulko
0 siblings, 0 replies; 6+ messages in thread
From: Kevin Dziulko @ 2004-04-22 14:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset=us-ascii, Size: 448 bytes --]
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¢
[-- Attachment #1.2: Type: text/html, Size: 671 bytes --]
[-- Attachment #2: Type: text/plain, Size: 151 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: get rid of leftover auto save #files#
[not found] <mailman.971.1082642525.1061.help-gnu-emacs@gnu.org>
@ 2004-04-22 17:57 ` Lowell Gilbert
2004-04-22 20:53 ` Roodwriter
2004-04-23 15:42 ` Kevin Rodgers
0 siblings, 2 replies; 6+ messages in thread
From: Lowell Gilbert @ 2004-04-22 17:57 UTC (permalink / raw)
Kevin Dziulko <weaselboy1976@yahoo.com> 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...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: get rid of leftover auto save #files#
2004-04-22 17:57 ` get rid of leftover auto save #files# Lowell Gilbert
@ 2004-04-22 20:53 ` Roodwriter
2004-04-23 15:42 ` Kevin Rodgers
1 sibling, 0 replies; 6+ messages in thread
From: Roodwriter @ 2004-04-22 20:53 UTC (permalink / raw)
Lowell Gilbert wrote:
> Kevin Dziulko <weaselboy1976@yahoo.com> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: get rid of leftover auto save #files#
2004-04-22 17:57 ` get rid of leftover auto save #files# Lowell Gilbert
2004-04-22 20:53 ` Roodwriter
@ 2004-04-23 15:42 ` Kevin Rodgers
2004-04-24 14:51 ` Lowell Gilbert
1 sibling, 1 reply; 6+ messages in thread
From: Kevin Rodgers @ 2004-04-23 15:42 UTC (permalink / raw)
Lowell Gilbert wrote:
> Kevin Dziulko <weaselboy1976@yahoo.com> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: get rid of leftover auto save #files#
2004-04-23 15:42 ` Kevin Rodgers
@ 2004-04-24 14:51 ` Lowell Gilbert
2004-04-26 17:31 ` Kevin Rodgers
0 siblings, 1 reply; 6+ messages in thread
From: Lowell Gilbert @ 2004-04-24 14:51 UTC (permalink / raw)
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> But Lowell is presumably
I believe this was intended to refer to the original
poster, rather than to me.
- Lowell
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: get rid of leftover auto save #files#
2004-04-24 14:51 ` Lowell Gilbert
@ 2004-04-26 17:31 ` Kevin Rodgers
0 siblings, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2004-04-26 17:31 UTC (permalink / raw)
Lowell Gilbert wrote:
> Kevin Rodgers <ihs_4664@yahoo.com> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-26 17:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.971.1082642525.1061.help-gnu-emacs@gnu.org>
2004-04-22 17:57 ` get rid of leftover auto save #files# Lowell Gilbert
2004-04-22 20:53 ` Roodwriter
2004-04-23 15:42 ` Kevin Rodgers
2004-04-24 14:51 ` Lowell Gilbert
2004-04-26 17:31 ` Kevin Rodgers
2004-04-22 14:00 Kevin Dziulko
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).