[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backup-buffer-copy loops if old backup can't be deleted
From: |
martin rudalics |
Subject: |
Re: backup-buffer-copy loops if old backup can't be deleted |
Date: |
Tue, 21 Aug 2007 17:28:21 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
>>Suppose the file to-name exists but cannot be
>>deleted. `copy-file' will raise its `file-already-exists' error and you
>>remain trapped in that loop.
>
>
> No, if the file cannot be deleted, the delete-file will signal a
> file-error so copy-file doesn't even get a chance to signal a
> file-already-exists error because it doesn't get called at all. As the
> outer condition-case doesn't catch file-error, the signal will propagate
> up the call stack.
I stand corrected. The file-error is caught in `backup-buffer' and
further file-errors don't get trapped.
- backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/20
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/20
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted,
martin rudalics <=
- Re: backup-buffer-copy loops if old backup can't be deleted, Glenn Morris, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Glenn Morris, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, martin rudalics, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, Michael Schierl, 2007/08/22
- Re: backup-buffer-copy loops if old backup can't be deleted, Martin von Gagern, 2007/08/21
- Re: backup-buffer-copy loops if old backup can't be deleted, Ulrich Mueller, 2007/08/22