GNU bug report logs -
#28834
25.1; dired-do-copy: allow to copy into a nonexistent directory
Previous Next
Reported by: "alexei28" <alexei28 <at> gmail.com>
Date: Sat, 14 Oct 2017 14:53:01 UTC
Severity: wishlist
Tags: patch
Found in version 25.1
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 21 Oct 2017 13:13:34 +0900
with message-id <878tg55ea9.fsf <at> gmail.com>
and subject line Re: bug#28834: 25.1; dired-do-copy: allow to copy into a nonexistent directory
has caused the debbugs.gnu.org bug report #28834,
regarding 25.1; dired-do-copy: allow to copy into a nonexistent directory
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
28834: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28834
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi!
Windows 10, Emacs 25.1, Dired+
I want to copy file from "d:/TEMP/test/test.txt" to nonexistent directory
"d:/TEMP/test/new/" in tby package Dired+
My steps in Dired+ buffer:
1. Run command "split-window-vertically"
2. In top and bottom buffers has directory "d:/TEMP/test/"
3. Press "Shift c" (copy file)
4. In minibuffer show message: "Copy text.txt to : d:/TEMP/test/"
5. I replace target path by: "d:/TEMP/test/new/test.txt" and press return
6. I get the next error message:
Copy 'd:/TEMP/test/test.txt' to 'd:/TEMP/test/new/test.txt' failed:
(file-error Copying file Operation not permitted d:/TEMP/test/test.txt
d:/TEMP/test/new/test.txt)
It would be good if Emacs can autocreate not exist directory when copy/move
files.
Thank you.
Alex
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Tino Calancha <tino.calancha <at> gmail.com>
>> Cc: 28834 <at> debbugs.gnu.org, drew.adams <at> oracle.com
>> Date: Tue, 17 Oct 2017 13:49:34 +0900
>>
>> * I have changed the new function name to `dired-maybe-create-dirs'
>> as Drew suggested.
>> * I think I have addressed all your comments as well.
>
> Thanks, this LGTM.
Added feature into master branch as commit
"Allow to copy/rename file into a non-existent dir"
(cb29f41624e5163a0aea4bfc98591e683807a2f8)
This bug report was last modified 7 years and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.