all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: "Ramkumar R. Aiyengar" <andyetitmoves@gmail.com>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <87lk3pdtvz.fsf@stupidchicken.com> (raw)
In-Reply-To: <9a9bfc170804070833u506e25e0ycf66010d61eea931@mail.gmail.com> (Ramkumar R. Aiyengar's message of "Mon, 7 Apr 2008 16:33:02 +0100")

"Ramkumar R. Aiyengar" <andyetitmoves@gmail.com> 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	other threads:[~2008-04-08  1:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07 15:18 23.0.60; find-backup-file-name assumes base name of backup file names Chong Yidong
2008-04-07 15:33 ` Ramkumar R. Aiyengar
2008-04-08  1:20   ` Chong Yidong [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-03-22  2:27 Ramkumar R. Aiyengar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lk3pdtvz.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=andyetitmoves@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.