[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PR: dired-do-create-files now checks for trailing slashes in the tar
From: |
Eli Zaretskii |
Subject: |
Re: PR: dired-do-create-files now checks for trailing slashes in the target |
Date: |
Wed, 29 Sep 2021 16:57:16 +0300 |
> From: Tassilo Horn <tsdh@gnu.org>
> Cc: rudiwillalwaysloveyou@gmail.com, stefankangas@gmail.com,
> emacs-devel@gnu.org
> Date: Wed, 29 Sep 2021 15:42:50 +0200
>
> So basically we have those Rename/Copy semantics:
>
> 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.
I'm against unconditionally changing the behavior based on the obscure
fact of whether the directory name ends in a slash or doesn't. That
slash is ephemeral and users may not be aware to its importance, since
the semantics of foo/ and foo is the same more or less. So if you
want me to agree to the change, please make this behavior optional.
- 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, Eli Zaretskii, 2021/09/29
- 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, 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, 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, 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 <=
- 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, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Lars Ingebrigtsen, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Eli Zaretskii, 2021/09/30
- Re: PR: dired-do-create-files now checks for trailing slashes in the target, Tassilo Horn, 2021/09/30