From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Newsgroups: gmane.emacs.bugs Subject: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error Date: Thu, 12 Oct 2017 15:50:26 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1507812677 14522 195.159.176.226 (12 Oct 2017 12:51:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 12:51:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Paul Eggert , 28792@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 14:51:13 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2cxD-0002zv-U9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 14:51:12 +0200 Original-Received: from localhost ([::1]:45351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2cxK-0004Ms-RW for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 08:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2cx8-0004LR-R9 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 08:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2cx3-0003dL-V2 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 08:51:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2cx3-0003d9-RP for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 08:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2cx3-0006QP-Iz for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 08:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28792 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28792-submit@debbugs.gnu.org id=B28792.150781263324650 (code B ref 28792); Thu, 12 Oct 2017 12:51:01 +0000 Original-Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 12:50:33 +0000 Original-Received: from localhost ([127.0.0.1]:34987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2cwa-0006PW-SK for submit@debbugs.gnu.org; Thu, 12 Oct 2017 08:50:33 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:43354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2cwZ-0006PM-Hs for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 08:50:32 -0400 X-Originating-IP: 188.3.108.78 Original-Received: from alpha.alpha (unknown [188.3.108.78]) (Authenticated sender: self@gkayaalp.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 92BD4C5A73; Thu, 12 Oct 2017 14:50:27 +0200 (CEST) In-Reply-To: (Kaushal Modi's message of "Thu, 12 Oct 2017 03:51:54 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138268 Archived-At: Quite recently I've opened and retreated the similar bug#28791, trying to trash directories recursively. I did not use a custom trash-directory, but I got the same error. Turns out that it was delete-by-moving-to-trash that provoked the error (with an indentical message to yours). Emptying the ~/.local/share/Trash/ folder solved the issue for me. I observed that in ~/.local/share/Trash/info/ some .trashinfo files were created with the name of the directory (say ) I was trying to delete, one .trashinfo and many .trashinfo. I've tried to understand sth. inspecting the recent changes to rename-file in src/fileio.c using vc-annotate, and some recent commits like a1cea94c0b seem relevant, altho my C knowledge is very basic, and even more so of the Emacs style and C codebase. I've experienced this on master since about a couple weeks, since my second-last build thereof, but my third-last build was quite some time ago. --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427