>>>> "Jeff" == Jeff Mincy
<jeff(a)delphioutpost.com> writes:
Jeff> From: Jeff Mincy <jeff(a)delphioutpost.com>
Jeff> Date: Sun, 1 Jul 2001 13:52:19 -0400
Jeff> Under 21.4.3 on windows (& cygwin), when I try to save my vm inbox I
Jeff> have been getting:
Jeff> Cannot write backup file; backing up in ~/%backup%~
Jeff> This did not happen under 21.1.13.
Jeff> I tracked this down to backup-buffer in files.el that does:
Jeff> (copy-file real-file-name backupname t t)
Jeff> Under 21.4.3, when I do
Jeff> (copy-file "c:/home/jmincy/INBOX"
"c:/home/jmincy/INBOX.~3333~" t t)
Jeff> I get
Jeff> I/O error: No such file or directory, c:/home/jmincy/INBOX.~3333~
Jeff> Also in 21.4.3, the following works without error:
Jeff> (copy-file "c:/home/jmincy/INBOX"
Jeff> "c:/home/jmincy/INBOX.~3333~" t nil)
Jeff> The problem seems to be with the processing of `keep-time'
Jeff> argument, which appears to have been changed since 21.1.13
Jeff> (lisp_string_set_file_times vs set_file_times, and more
Jeff> likely set_file_times has been changed).
Hello Jeff,
21.5 CVS has this problem fixed.
I hope Stephen will agree to merge back the fix into 21.4.4.
Adrian
Jeff> As a workaround, the following seems to work.
Jeff> (when (equal emacs-program-version "21.4.3")
Jeff> (defadvice copy-file (before smash-keep-time-21-4-3 first activate)
Jeff> (setq keep-time nil)))
Jeff> -jeff
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/