[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: PR: dired-do-create-files now checks for trailing s
From: |
Tassilo Horn |
Subject: |
Re: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target |
Date: |
Wed, 29 Sep 2021 21:09:56 +0200 |
User-agent: |
mu4e 1.7.0; emacs 28.0.50 |
Drew Adams <drew.adams@oracle.com> writes:
>> file -> 2.txt (renames plain file no matter if 2.txt already exists)
>> file -> foo (move into foo if that's an existing dir, otherwise
>> rename)
>> file -> foo/ (move into directory foo, creating if not existing
>> and dired-create-destination-dirs is non-nil)
>>
>> The first 2 are unchanged, the third one is the new one.
>
> What about: foo -> foo/
>
> Does that move file foo to directory foo, as
> foo/foo, creating directory foo if it doesn't
> exist?
No, it errors in the same way as it does without the patch.
Move: ‘/home/horn/tmp/foo’ to ‘/home/horn/tmp/foo/foo’ failed:
(file-error Renaming Invalid argument /home/horn/tmp/foo
/home/horn/tmp/foo/foo)
Bye,
Tassilo
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, (continued)
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Rudi C, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Eli Zaretskii, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Eli Zaretskii, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Stefan Kangas, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Eli Zaretskii, 2021/09/29
- RE: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target, Drew Adams, 2021/09/29
- Re: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target,
Tassilo Horn <=
- RE: [External] : Re: PR: dired-do-create-files now checks for trailing slashes in the target, Drew Adams, 2021/09/29
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Stefan Kangas, 2021/09/29