Subject: Re: bug#394: wdired-change-to-wdired-mode can cause file deletion

From: Stefan Monnier <[email-masked]>
Date: Sat, 14 Jun 2008 13:01:52 -0400

> In dired, do M-x wdired-change-to-wdired-mode.
> Then, swap 2 files's names.
> Emacs will ask if the first file should be overwritten. If answer yes, it'll
> be deleted, and it wont be renamed. i.e. you lose a file.

Indeed, dired's rename is a "parallel" rename, whereas our underlying
C primitives only offer sequential renaming, so we need to de more work
to handle those cases.

I've installed a patch into the CVS trunk which should fix it (or at
least catch the problem before it's too late).

        Stefan