emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; find-backup-file-name assumes base name of backup file name


From: Ramkumar R. Aiyengar
Subject: Re: 23.0.60; find-backup-file-name assumes base name of backup file names
Date: Mon, 7 Apr 2008 16:33:02 +0100

Hi!

>  In the code, find-backup-file-name only uses make-backup-file-name-1
>  when checking for numeric backup files (usually for files under version
>  control).  If it determines that a non-numeric backup file is desired,
>  it calls make-backup-file-name, which correctly checks
>  make-backup-file-name-function as desired.  Note that
>  make-backup-file-name-function only applies to non-numeric backup files.

Ah! So, the make-backup-file-name-function can be used only if
version-control is not set? Didn't know that.. I am here trying to use
version-control set to t, along with a custom
make-backup-file-name-function (for creating a shadow directory
structure for backup files: backup-alist flattens out backup file
names within it.. files like..
~/.emacs.d/backup/home/ramk/.emacs.~2~). Could this then become a
feature request, to allow customization of the backup function for
versioned backups?

Thanks,
Ramkumar.

-- 
One of the main causes of the fall of the Roman Empire
was that, lacking zero, they had no way to indicate
successful termination of their C programs.
 -- Robert Firth




reply via email to

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