GNU bug report logs - #22625
24.5; Please add index entry for `~ filename suffix' to manual for node `Backup Names'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 10 Feb 2016 23:05:02 UTC

Severity: wishlist

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 22625 <at> debbugs.gnu.org (full text, mbox):

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: 22625 <at> debbugs.gnu.org
Subject: 24.5; Please add index entry for `~ filename suffix' to manual for
 node `Backup Names'
Date: Sat, 13 Feb 2016 10:24:56 -0500
[Message part 1 (text/plain, inline)]
I am not sure I understood the request.

On emacs built from emacs-25 branch (could not verify the same on 24.5), by
doing,

C-h i g (emacs) Backup Names

I get a very good explanation of how the backup files are named.

=====

When Emacs makes a backup file, its name is normally constructed by
appending ‘~’ to the file name being edited; thus, the backup file for
‘eval.c’ would be ‘eval.c~’.

   If access control stops Emacs from writing backup files under the
usual names, it writes the backup file as ‘~/.emacs.d/%backup%~’.  Only
one such file can exist, so only the most recently made such backup is
available.

   Emacs can also make "numbered backup files".  Numbered backup file
names contain ‘.~’, the number, and another ‘~’ after the original file
name.  Thus, the backup files of ‘eval.c’ would be called ‘eval.c.~1~’,
‘eval.c.~2~’, and so on, all the way through names like ‘eval.c.~259~’
and beyond.

[snip]
=====

Should this bug be closed?

--
Kaushal Modi
[Message part 2 (text/html, inline)]

This bug report was last modified 9 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.