[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kept-old-versions doesn't get that nagging first backup~

From: Dan Jacobson
Subject: kept-old-versions doesn't get that nagging first backup~
Date: 07 Mar 2001 06:01:31 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

I set kept-old-versions's value to 0
*Number of oldest versions to keep when a new numbered backup is made.

OK, but emacs lacks a mechanism to clean up that single non-numbered
backup, e.g., file.txt~

I mean we all go thru that initial period of creating them before we
discover numbered backups.  So what results is:
$ ls -lt .gnus*
-rw-r--r--   8695 03  6 17:05 .gnus.el
-rw-r--r--   8433 03  1 16:47 .gnus.el.~14~
-rw-r--r--   8354 03  1 12:00 .gnus.el.~13~
-rw-r--r--   8321 02 25 22:13 .gnus.el.~12~
-rw-r--r--   8286 02 24 22:13 .gnus.el.~11~
-rw-r--r--   8190 02 24 19:34 .gnus.el.~10~
-rw-r--r--   5119 01 13 01:38 .gnus.el~
That one crusty backup hanging around forever.

If you aren't going to provide a variable to treat ~ backups along
with numbered backups, then at least in Info
File: emacs,  Node: Backup Deletion
make a note that you are aware of this situation, and give the user
tips how to manually get them out of his filesystem... [find / -name
'*[^.]~' ... :-(

Programming note: if [new variable for this situation = yes] and found
[plenty numbered backups], only then [treat the unnumbered lagging
backup]..., else [be careful].
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]