unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: michael_heerdegen@web.de, 59986-done@debbugs.gnu.org
Subject: bug#59986: 30.0.50; Can't trash file with broken symbolic link
Date: Fri, 16 Dec 2022 17:56:25 +0200	[thread overview]
Message-ID: <837cyrjqae.fsf@gnu.org> (raw)
In-Reply-To: <Y5wSo2Olvk/JKlkh@protected.localdomain> (message from Jean Louis on Fri, 16 Dec 2022 09:39:31 +0300)

> Date: Fri, 16 Dec 2022 09:39:31 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: michael_heerdegen@web.de, 59986@debbugs.gnu.org
> 
> I have manually applied that patch as I do not know how to
> apply it directly. Am I supposed to use `patch' command? 
> 
> I have tested your patch and it can delete dangling symlinks
> and moves them to Trash. And I could observe it adds ~N~ to
> file names, so it works well.
> 
>   lrwxrwxrwx 1    9 Dec 15 17:51 more -> something
>   lrwxrwxrwx 1    9 Dec 16 09:37 more.~1~ -> something
>   lrwxrwxrwx 1    9 Dec 16 09:37 more.~2~ -> something
>   -rwxr-xr-x 1 1.5K Sep 15  2018 
> 
> Thanks much.

Thanks for testing.  I've now installed the fix on the emacs-29
branch, and I'm therefore closing this bug.





      reply	other threads:[~2022-12-16 15:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-12  6:51 bug#59986: 30.0.50; Can't trash file with broken symbolic link Jean Louis
2022-12-13  3:51 ` Michael Heerdegen
2022-12-13  8:00   ` Jean Louis
2022-12-13 12:42     ` Eli Zaretskii
2022-12-13 13:49       ` Jean Louis
2022-12-13 14:44         ` Eli Zaretskii
2022-12-13 19:24           ` Jean Louis
2022-12-14 12:29             ` Eli Zaretskii
2022-12-15  0:13               ` Michael Heerdegen
2022-12-15  7:12                 ` Eli Zaretskii
2022-12-15 14:54                   ` Jean Louis
2022-12-15 16:07                     ` Eli Zaretskii
2022-12-16  6:39                       ` Jean Louis
2022-12-16 15:56                         ` Eli Zaretskii [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

  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=837cyrjqae.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59986-done@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=michael_heerdegen@web.de \
    /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).