bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58721: 28.2; dired with delete-by-moving-to-trash can't trash direct


From: Eli Zaretskii
Subject: bug#58721: 28.2; dired with delete-by-moving-to-trash can't trash directory twice
Date: Sat, 29 Oct 2022 18:48:35 +0300

> From: Mike Kupfer <mkupfer@alum.berkeley.edu>
> Date: Sat, 29 Oct 2022 08:24:53 -0700
> 
> I played with this some more this morning, this time on Emacs 29.  It
> looks like rename-file should have called copy-directory as
> 
> copy-directory("/tmp/emacs-git"
>   "/home/kupfer/.local/share/Trash/files/emacs-gitH0lx1e/" t nil t)

I don't think we can change how rename-file behaves when the argument
is a directory.  Any changes we need to make must be in
move-file-to-trash, not in primitives it calls.

Thanks.





reply via email to

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