emacs-devel
[Top][All Lists]
Advanced

[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:41:20 +0300

> From: Tassilo Horn <tsdh@gnu.org>
> Cc: rudiwillalwaysloveyou@gmail.com, stefankangas@gmail.com,
>  emacs-devel@gnu.org
> Date: Wed, 29 Sep 2021 15:23:39 +0200
> 
> > Isn't that exactly the problem?  If both old_name and new_name exist,
> > how do I rename old_name into new_name so that it overwrites new_name
> > instead of becoming its subdirectory?  I must carefully type new_name
> > RET so as to avoid having a slash at its end.
> 
> That's already the case without this patch and emacs 27.2 started with
> "emacs -Q".  I have both foo and bar directories in my dired buffer,
> then hit R on foo and complete bar/.  It will move foo inside of bar.
> The very same happens if I just complete to bar without trailing /.

And with the proposed change, the last sentence will no longer happen,
right?  That's the change in behavior I was talking about.  Or am I
missing something?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]