From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83bkpxkwcd.fsf@gnu.org> References: <83r0ytl042.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14973"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58721@debbugs.gnu.org To: Gustavo Barros Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 19:35:50 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oo6nE-0003hp-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 19:35:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo6ig-0000Sa-DK; Thu, 27 Oct 2022 13:31:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo6id-0000KS-1M for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:31:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo6ic-0000rh-QT for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo6ic-0003XR-7p for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58721 X-GNU-PR-Package: emacs Original-Received: via spool by 58721-submit@debbugs.gnu.org id=B58721.166689185813589 (code B ref 58721); Thu, 27 Oct 2022 17:31:02 +0000 Original-Received: (at 58721) by debbugs.gnu.org; 27 Oct 2022 17:30:58 +0000 Original-Received: from localhost ([127.0.0.1]:59214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6iY-0003X6-0K for submit@debbugs.gnu.org; Thu, 27 Oct 2022 13:30:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6iW-0003Wr-82 for 58721@debbugs.gnu.org; Thu, 27 Oct 2022 13:30:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo6iP-0000fZ-PM; Thu, 27 Oct 2022 13:30:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0DpGvZa08sUW9BwgaKvzPc/hAMOCC1CLVDD09g5F8z4=; b=TsEOUPjUcEaQ b5xqzVuTfEmaC80pMhal+OXxg+Qiql6aLGdEXzzUeiwB1n5eU2gb92u6bfAcew5L26oYiaUT3hoEu 1JoNwvLj+BA28jbvzF0oBPILa3XXUzuaXL6ot7dlu2KZx4BkchHjlC4RaLu4yHjuKoJ0WA8xrrZtQ ZooKWeGQbbXiniEXgMR23I4P2hLHVhIHXEnKADCPCRxqK1QOuuqOJ8pq+1XzVVlGaKrS+ulzG7crh RFW3orPWTpvL91dsSgWCtYSQ+KZbEKsAGEgF+UlPXugWrhgn7koD9X1uwH2GlJO7gbNaupTnSyVld H+UvlICiNvDVEDcXfxDjAg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo6iP-0008DG-7I; Thu, 27 Oct 2022 13:30:49 -0400 In-Reply-To: (message from Gustavo Barros on Thu, 27 Oct 2022 14:07:21 -0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246343 Archived-At: > From: Gustavo Barros > Date: Thu, 27 Oct 2022 14:07:21 -0300 > Cc: 58721@debbugs.gnu.org > > Debugger entered--Lisp error: (file-already-exists "File exists" > "/home//.local/share/Trash/files/org-mode83g...") > make-directory-internal("/home//.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.