* bug#44645: dired-do-rename: check before asking doomed command
@ 2020-11-14 20:17 積丹尼 Dan Jacobson
2020-11-16 23:00 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-11-14 20:17 UTC (permalink / raw)
To: 44645
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"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-16 23:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-14 20:17 bug#44645: dired-do-rename: check before asking doomed command 積丹尼 Dan Jacobson
2020-11-16 23:00 ` Lars Ingebrigtsen
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.