GNU bug report logs -
#44645
dired-do-rename: check before asking doomed command
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Sat, 14 Nov 2020 20:31:02 UTC
Severity: wishlist
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 44645 in the body.
You can then email your comments to 44645 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44645
; Package
emacs
.
(Sat, 14 Nov 2020 20:31:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 14 Nov 2020 20:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Create a directory, then move it to /tmp.
Then do that all a second time.
R runs the command dired-do-rename.
It should do some check before asking about command doomed to fail:
Overwrite ‘/tmp/google-chrome-unstable’? [Type yn!q or C-h] y
Move: ‘/home/jidanni/.config/google-chrome-unstable’ to ‘/tmp/google-chrome-unstable’ failed:
(file-already-exists File exists /tmp/google-chrome-unstable)
Also that last line,
(file-already-exists File exists /tmp/google-chrome-unstable)
^^^^ ^^^^^^ ^^^^ ^^^^^^
seems to repeat itself. (Looks bad.)
(Also aren't these directories, not just files?)
OK, trying again with the shell
$ mv -i .config/google-chrome-unstable/ /tmp/
mv: overwrite '/tmp/google-chrome-unstable'? y
mv: inter-device move failed: '.config/google-chrome-unstable/' to
'/tmp/google-chrome-unstable'; unable to remove target: Directory not empty
OK, I guess checking too much ahead every time isn't worth the overhead.
If so, close this bug.
emacs-version "27.1"
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44645
; Package
emacs
.
(Mon, 16 Nov 2020 23:01:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 44645 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
> OK, I guess checking too much ahead every time isn't worth the overhead.
> If so, close this bug.
And there may be more than one file/directory in the move, and some may
fail and some may not, so I think the checking is in the correct place,
and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 16 Nov 2020 23:02:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
44645 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Mon, 16 Nov 2020 23:02:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 15 Dec 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 191 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.