From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi 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 12:58:57 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114901221f0045055b591be8" X-Trace: blaine.gmane.org 1507813276 11550 195.159.176.226 (12 Oct 2017 13:01:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 13:01:16 +0000 (UTC) Cc: Paul Eggert , 28792@debbugs.gnu.org To: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 15:01:04 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 1e2d6e-0000qh-Df for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 15:00:56 +0200 Original-Received: from localhost ([::1]:45401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2d6l-0007op-W0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 09:01:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2d5r-0007Lz-3u for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 09:00:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2d5n-0008Iz-7P for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 09:00:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2d5n-0008IX-49 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 09:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2d5m-0006gO-Pp for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 09:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 13:00:02 +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.150781315725585 (code B ref 28792); Thu, 12 Oct 2017 13:00:02 +0000 Original-Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 12:59:17 +0000 Original-Received: from localhost ([127.0.0.1]:34998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d53-0006eb-4o for submit@debbugs.gnu.org; Thu, 12 Oct 2017 08:59:17 -0400 Original-Received: from mail-qt0-f174.google.com ([209.85.216.174]:53708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2d50-0006eL-Sa for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 08:59:15 -0400 Original-Received: by mail-qt0-f174.google.com with SMTP id n61so13378580qte.10 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 05:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eqsDDUKoj04FZuEhbETuP83SXpJ3DM2NO895nvM+FCU=; b=CBa0Fqr2P78rmdyln9Uz4TPK0TCR/+w8sNyNfw44/Icozi64u3XWYuWY7Be7cx2dBN HFkp4UUllwgUEpuaTUk5PzNHELOArMbJsf8qbWcUUMvWL1EW0ohw/IhqzKNRRUzVW5lN 6r8cvGQn1pwBi0n0jsGqAbsUDp+bEPaZSSifR+7wMo59YdZT+ibQYRNAHzzcQVCRIN0D xclLQxbR/BHadKNC7po/geErghuJ0uaW0FWeJtLb/m4a9mmsP+MSRLaTabIPhrrMF40K lmtjI6en4p8CBRGew4qsfz4D4eH46aciJvCJxg4J2SiEkGjxmrf0XrYdXHXz8rRt8N0J R29Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eqsDDUKoj04FZuEhbETuP83SXpJ3DM2NO895nvM+FCU=; b=E0nNJLZ6b1GaZPfqMuk2gyp7V68ecxm7T+n5b8IYayQ33wi8T8So1rqlXpxCG86s74 qW4aBRCa98+NycgVTq3Kpni0zeBMh0bltsAMRyaH4ehPHAwq4xsTOC5hkCfDug1UHhZs 0dpkmFzx+oB8+v0uIap2uPfRoIb7UwoxGTeh9uSC3y/0g0u+HD8+A6jHxMBpM8h2ZJZp zGMG/cPd3IdNfmu5bjnhMpq6FL3lGS8BPDshOrrhcoZu6L3Bg4jUxpcMkFHJA6PGKaVt BqzijmaKUjUDKU2o1trwiDG2itl3gqqOMdZk7DV3Ecks2ynjBmZ1TIYHnKrPoINGRoDh qygQ== X-Gm-Message-State: AMCzsaVQnQfZw51ne20fh/7i3MeVPiHKdaiJWDSltV0UanA3u8S78K3h O/rEl0dCKUsKXbJRVNjRibkspBL5BjO7qbJypRo= X-Google-Smtp-Source: AOwi7QCuPIVHax7k1jORRymjGtkQlQaGa08oyE0fJkVztTMzm3Bv8J7OSlV9qBKTf7hUIkgpSTDVqJDx8cXhhxJ7nRY= X-Received: by 10.129.97.195 with SMTP id v186mr1697073ywb.38.1507813148783; Thu, 12 Oct 2017 05:59:08 -0700 (PDT) In-Reply-To: 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:138270 Archived-At: --001a114901221f0045055b591be8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Oct 12, 2017 at 8:50 AM G=C3=B6ktu=C4=9F Kayaalp wrote: > 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. > That is still a bug in Emacs, at least because the error message is not helpful. It is also in a non-standard format with incorrect capitalizations in-between and doesn't even generate a backtrace by default. Also this issue did not happen on emacs 25.x. --=20 Kaushal Modi --001a114901221f0045055b591be8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 8:50 AM G=C3=B6ktu=C4=9F Kayaalp <self@gkayaalp.com> wrote:
Quite recently I've opened and retreated the similar bug#28791, = trying
to trash directories recursively.=C2=A0 I did not use a custom
trash-directory, but I got the same error.=C2=A0 Turns out that it was
delete-by-moving-to-trash that provoked the error (with an indentical
message to yours).=C2=A0 Emptying the ~/.local/share/Trash/ folder solved t= he
issue for me.=C2=A0 I observed that in ~/.local/share/Trash/info/ some
.trashinfo files were created with the name of the directory (say
<dirname>) I was trying to delete, one <dirname>.trashinfo and = many
<dirname><random=C2=A0bits>.trashinfo.=C2=A0

That is still a bug in Emacs, at least because the error = message is not helpful. It is also in a non-standard format with incorrect = capitalizations in-between and doesn't even generate a backtrace by def= ault.

Also this issue did not happen on emacs 25.x= .
--

Kaushal Modi

--001a114901221f0045055b591be8--