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: Chong Yidong
Subject: Re: 23.0.60; find-backup-file-name assumes base name of backup file names
Date: Mon, 07 Apr 2008 21:20:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Ramkumar R. Aiyengar" <address@hidden> writes:

> 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?

I'll add it to the TODO list.  Thanks.




reply via email to

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