unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: self@gkayaalp.com, eggert@cs.ucla.edu, 28792@debbugs.gnu.org
Subject: bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error
Date: Thu, 12 Oct 2017 17:27:05 +0200	[thread overview]
Message-ID: <mvma80wv12u.fsf@suse.de> (raw)
In-Reply-To: <CAFyQvY0=7FEfeCgXUrDhYb6Cuo1+O0f8MF=j6=OAJc6J9ut3sQ@mail.gmail.com> (Kaushal Modi's message of "Thu, 12 Oct 2017 14:06:26 +0000")

On Okt 12 2017, Kaushal Modi <kaushal.modi@gmail.com> wrote:

> 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..

That depend on whether the trash is on the same file system as the
directory to trash.  rename-file now refuses to copy directory across
file systems unless the target name ends in a slash.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





  parent reply	other threads:[~2017-10-12 15:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-12  3:26 bug#28792: 26.0.60; Deleting to a custom trash directory in Dired gives error Kaushal Modi
2017-10-12  3:36 ` Kaushal Modi
2017-10-12  3:51   ` Kaushal Modi
2017-10-12 12:50     ` Göktuğ Kayaalp
2017-10-12 12:58       ` Eli Zaretskii
2017-10-12 13:02         ` Kaushal Modi
2017-10-12 13:37         ` Göktuğ Kayaalp
2017-10-12 12:58       ` Kaushal Modi
2017-10-12 13:16         ` Eli Zaretskii
2017-10-12 13:31           ` Kaushal Modi
2017-10-12 13:44             ` Eli Zaretskii
2017-10-12 14:02             ` Andreas Schwab
2017-10-12 14:06               ` Kaushal Modi
2017-10-12 15:07                 ` Kaushal Modi
2017-10-12 15:15                   ` Eli Zaretskii
2017-10-12 15:27                 ` Andreas Schwab [this message]
2017-10-12 15:31                   ` Kaushal Modi
2017-10-12 20:25                   ` Paul Eggert
2017-10-12 21:41                     ` Kaushal Modi
2017-10-15  7:18                       ` Paul Eggert
2017-10-15 13:35                         ` Kaushal Modi
2017-10-15 13:47                           ` Noam Postavsky
2017-10-12 14:24           ` Noam Postavsky
2017-10-12 14:43             ` Drew Adams
2017-10-12 15:07               ` Andreas Schwab
2017-10-12 15:10                 ` Drew Adams
2017-10-12 13:34 ` Tino Calancha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvma80wv12u.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=28792@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    --cc=kaushal.modi@gmail.com \
    --cc=self@gkayaalp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).