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: Thu, 27 Oct 2022 20:30:42 +0300

> From: Gustavo Barros <gusbrs.2016@gmail.com>
> Date: Thu, 27 Oct 2022 14:07:21 -0300
> Cc: 58721@debbugs.gnu.org
> 
> Debugger entered--Lisp error: (file-already-exists "File exists"
> "/home/<username>/.local/share/Trash/files/org-mode83g...")
>   
> make-directory-internal("/home/<username>/.local/share/Trash/files/org-mode83g...")

And the directory by that name really already exists under Trash?
That would mean something is wrong with make-temp-file on your system,
because it's supposed to return a different file name.  You will see
that move-file-to-trash calls make-temp-file near its end.

(I cannot myself try reproducing this because I don't have access to a
system with freedesktop.org-style Trash.)

Thanks.





reply via email to

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