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: 44059@debbugs.gnu.org, larsi@gnus.org
Subject: bug#44059: 28.0.50; Trash files cannot be deleted properly if delete-by-moving-to-trash is set
Date: Mon, 26 Oct 2020 21:44:07 +0200	[thread overview]
Message-ID: <83r1pkeprs.fsf@gnu.org> (raw)
In-Reply-To: <X5bzSneWL0y3ILcw@protected.rcdrun.com> (message from Jean Louis on Mon, 26 Oct 2020 19:03:22 +0300)

> Date: Mon, 26 Oct 2020 19:03:22 +0300
> From: Jean Louis <bugs@gnu.support>
> Cc: Lars Ingebrigtsen <larsi@gnus.org>, 44059@debbugs.gnu.org
> 
> * Eli Zaretskii <eliz@gnu.org> [2020-10-19 17:55]:
> > > From: Lars Ingebrigtsen <larsi@gnus.org>
> > > Date: Mon, 19 Oct 2020 11:54:30 +0200
> > > Cc: 44059@debbugs.gnu.org
> > > 
> > > And... there doesn't seem to be any commands in Emacs for emptying the
> > > trash can?  Shouldn't there be?
> > 
> > AFAIU, doing this for freedesktop-style trash isn't trivial.
> 
> Actually it says that Emacs already does that:

It does?

> Hide Trash Directory: Value Menu Directory: /home/data1/protected/tmp/Trash/
>     State : SAVED and set.
>    Directory for ‘move-file-to-trash’ to move files and directories to. Hide
>    This directory is used only when the function ‘system-move-file-to-trash’
>    is not defined.
>    Relative paths are interpreted relative to ‘default-directory’.
>    If the value is nil, Emacs uses a freedesktop.org-style trashcan.
> 
> So if I set the variable: delete-by-moving-to-trash and not set
> trash-directory it will use freedeskstop style.

Look above: we were talking about _emptying_ the trashcan, not about
_using_ it to move deleted files there.

> There is no big problem. If delete-by-moving-to-trash is set then
> Tramp says it was trashed, which is confusing.

And this is yet another, almost unrelated, issue.

Can we please stay focused in each thread on the topic of that thread,
and nothing more?





  reply	other threads:[~2020-10-26 19:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-18  9:27 bug#44059: 28.0.50; Trash files cannot be deleted properly if delete-by-moving-to-trash is set Jean Louis
     [not found] ` <handler.44059.B.16030132896481.ack@debbugs.gnu.org>
2020-10-18  9:32   ` bug#44059: Acknowledgement (28.0.50; Trash files cannot be deleted properly if delete-by-moving-to-trash is set) Jean Louis
2020-10-19  9:54 ` bug#44059: 28.0.50; Trash files cannot be deleted properly if delete-by-moving-to-trash is set Lars Ingebrigtsen
2020-10-19 11:30   ` Jean Louis
2022-02-12  8:05     ` Lars Ingebrigtsen
2020-10-19 14:54   ` Eli Zaretskii
2020-10-19 15:13     ` Stefan Kangas
2020-10-26 16:03     ` Jean Louis
2020-10-26 19:44       ` Eli Zaretskii [this message]
2020-10-28 11:42         ` Jean Louis
2020-10-28 15:36           ` Eli Zaretskii
2020-10-28 17:39             ` Jean Louis
2020-10-26 20:07       ` Michael Albinus

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=83r1pkeprs.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=44059@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    --cc=larsi@gnus.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 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).