From: xah lee <xah@xahlee.org>
To: bug-gnu-emacs@gnu.org
Subject: bug#394: wdired-change-to-wdired-mode can cause file deletion
Date: Thu, 12 Jun 2008 01:39:07 -0700 [thread overview]
Message-ID: <E6D43431-8B39-457D-9965-99D36FA41303@xahlee.org> (raw)
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.
This can be reproduced if you created 2 files, one named A and other
B. Then renamed them to B and A. (Possibly you will need to create 3
files and rename in particular cycle depending on how emacs choose
the order to rename... The key is to get emacs to prompte for the
overwrite of a file that should be renamed to something else later.)
This behavior is slightly unexpected and caused me to retrieve from
my backup disk. (the files are images and never edited, so it isn't
in emacs's backup)
Xah
∑ http://xahlee.org/
☄
next reply other threads:[~2008-06-12 8:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jwv63scdk9t.fsf-monnier+emacsbugreports@gnu.org>
2008-06-12 8:39 ` xah lee [this message]
2008-06-14 17:10 ` bug#394: marked as done (wdired-change-to-wdired-mode can cause file deletion) Emacs bug Tracking System
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=E6D43431-8B39-457D-9965-99D36FA41303@xahlee.org \
--to=xah@xahlee.org \
--cc=394@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@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.