From: Tino Calancha <tino.calancha@gmail.com>
To: Geoffrey Ferrari <geoffrey.ferrari@oriel.oxon.org>
Cc: 28828@debbugs.gnu.org
Subject: bug#28828: 27.0.50; move-file-to-trash in files.el fails on non-empty directories
Date: Sat, 14 Oct 2017 18:22:53 +0900 [thread overview]
Message-ID: <87infi3wya.fsf@gmail.com> (raw)
In-Reply-To: <CAAoeO9jpkZZBeYH_Tgr=EKB1q3x3x1-K-AtHAUO8G4XdVh8dOg@mail.gmail.com> (Geoffrey Ferrari's message of "Sat, 14 Oct 2017 08:20:31 +0100")
Geoffrey Ferrari <geoffrey.ferrari@oriel.oxon.org> writes:
> Start emacs with emacs -Q
>
> Set delete-by-moving-to trash to t
> (setq delete-by-moving-to-trash t)
>
> In dired, try to delete a non-empty directory.
>
> This fails with a message:
> "(file-error Non-regular file Is a directory [path]"
>
> The problem appears to be with the function move-file-to-trash in
> files.el
>
> In particular, the error is raised at the end of the function when
> executing (rename-file fn new-fn) . I can't trace it any further as
> this is a compiled function.
Thank you. I believe this is Bug#28792 which has being fixed in
emacs-26 and master branches this week.
> In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
> 3.22.21)
> of 2017-10-01, unofficial emacs-snapshot build: http://emacs.secretsau
> ce.net built on lilbastard
I see latest snapshot at http://emacs.secretsauce.net
is from 8 days ago (https://github.com/dkogan/emacs-snapshot); that
means you will get the fix in the next snapshot.
prev parent reply other threads:[~2017-10-14 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-14 7:20 bug#28828: 27.0.50; move-file-to-trash in files.el fails on non-empty directories Geoffrey Ferrari
2017-10-14 9:22 ` Tino Calancha [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87infi3wya.fsf@gmail.com \
--to=tino.calancha@gmail.com \
--cc=28828@debbugs.gnu.org \
--cc=geoffrey.ferrari@oriel.oxon.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.