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 14:06:26 +0000 Message-ID: References: <83zi8wld5l.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c07de5277c3b9055b5a0c1b" X-Trace: blaine.gmane.org 1507817257 23700 195.159.176.226 (12 Oct 2017 14:07:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 14:07:37 +0000 (UTC) Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 16:07:27 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 1e2e8m-0003Ma-CZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 16:07:12 +0200 Original-Received: from localhost ([::1]:45785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2e8t-0001VT-Ni for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 10:07:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2e8f-0001Sa-A5 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:07:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2e8c-0004YU-19 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:07:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2e8b-0004YC-UM for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:07:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2e8b-0000IL-J7 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 10:07:01 -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 14:07: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.15078172081109 (code B ref 28792); Thu, 12 Oct 2017 14:07:01 +0000 Original-Received: (at 28792) by debbugs.gnu.org; 12 Oct 2017 14:06:48 +0000 Original-Received: from localhost ([127.0.0.1]:36185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e8N-0000Hp-Sx for submit@debbugs.gnu.org; Thu, 12 Oct 2017 10:06:48 -0400 Original-Received: from mail-qt0-f178.google.com ([209.85.216.178]:44593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2e8M-0000HZ-F5 for 28792@debbugs.gnu.org; Thu, 12 Oct 2017 10:06:46 -0400 Original-Received: by mail-qt0-f178.google.com with SMTP id 8so13823694qtv.1 for <28792@debbugs.gnu.org>; Thu, 12 Oct 2017 07:06:46 -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=EpQXCgHhovjhDWVYkMTAFpLeQ8oO2se1Mx5+30aNvf4=; b=qRuJIujQf66EqkGIiPh+Vk0UnRp29HC8lfFZzRaXk172HWcRYbjIVIMzyyKFLt/xbB 2KbnrEq3iyDDPz6C5SPOZT6H2POFI++Ka+XqnA2CyYdT5QjAw4Q18HC0U0pj8dQW54uS Vf6SdF8q7GetmQyti120teL+h30TRRv2ONbFik84Wq8Zb62O7W00LGBvc1LGccXGsRrc OjP0Sd6E9/S7ZAh84Wnr92m1VsYW8KvUwgIcBhhePU8wtDb9A4/ZQh1dt+pQiQVj0zzT qFISC7uUnjAz1LD8xEbfSobFnEDu8GLg1/LXADfSChAtirZL2qm0JlKXlM37zq2yoWIE y5bg== 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=EpQXCgHhovjhDWVYkMTAFpLeQ8oO2se1Mx5+30aNvf4=; b=WBFmRmRI/enkXtWqS1goaQOmCFHA1wZMjiCIQ+hleGAMoOUO3903UqxFD4C9ds71ZF fb0+Uxv/UH/J9QW+L0Z+cOt2sVnxuDRVpWBztTQk7c5UCWZH+ZK6Luw3+Ss0O1GN0hJo Nu/d6vVP47L+oxfJmGg4piyLl07xeObLhdoXZDEwZn+VLXRpBFaZ0EqhDap0DQVC7dYg w5tvxbHpaRo/dHYnDbOwpoCh4u8vnNOuxH0ifmKD6nNSk35vn81MwB23lKx9kxsVnUp2 82Kda39DXyqOMG1bLTfbmd5TH/N9QPcSJpT3fehWz23pGGvS904V6J9Ixh8VOp04yH9t hAWA== X-Gm-Message-State: AMCzsaUYUveNRUM4qao6IvvuLA2UULllhlQ2dI8Hr3VYNEVSICbeRw3g YjfWfbs/XiMyYnOyk4hKJkpMnMo4oSg87FTWFJI= X-Google-Smtp-Source: AOwi7QBeIyqxD/8QO3XmIROS3Ti7fSYzk6DaVqiJT9Q4oXpkCupAm/hYRsjAO/K+1yxxFrPxqLbaItGHkT8dZ+QpDoE= X-Received: by 10.37.218.138 with SMTP id n132mr685298ybf.447.1507817197911; Thu, 12 Oct 2017 07:06:37 -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:138282 Archived-At: --94eb2c07de5277c3b9055b5a0c1b Content-Type: text/plain; charset="UTF-8" On Thu, Oct 12, 2017 at 10:02 AM Andreas Schwab wrote: > No, it contains 4 elements: > > - the error symbol (file-error) > - a descriptive string ("Non-regular file") > - the system error as a string ("Is a directory") > - the offending object ("/home/kmodi/.emacs.d/foo") > Thanks. > > Also, the error is not-informative.. the user is trying to trash foo/ and > > knows that foo/ is a directory.. so how would > > copy-file does not support copying non-regular files. > But it seems to work in some cases i.e. trashing a dir works*. See my recipe in my earlier message in this debbugs thread[1]. Somehow this error has a correlation with relative locations of the user-set trash dir and to-be-deleted dir.. [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28792#11 -- Kaushal Modi --94eb2c07de5277c3b9055b5a0c1b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12= , 2017 at 10:02 AM Andreas Schwab <sch= wab@suse.de> wrote:
No, it c= ontains 4 elements:

- the error symbol (file-error)
- a descriptive string ("Non-regular file")
- the system error as a string ("Is a directory")
- the offending object ("/home/kmodi/.emacs.d/foo")

Thanks.
=C2=A0
> Also, the error is not-informative.. the user is trying to tr= ash foo/ and
> knows that foo/ is a directory.. so how would

copy-file does not support copying non-regular files.
=
But it seems to work in some cases i.e. trashing a dir works= *. See my recipe in my earlier message in this debbugs thread[1]. Somehow t= his error has a correlation with relative locations of the user-set trash d= ir and to-be-deleted dir..=C2=A0

--

Kaushal Modi

--94eb2c07de5277c3b9055b5a0c1b--