unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: David De La Harpe Golden <david@harpegolden.net>
Cc: emacs-devel@gnu.org
Subject: Re: Concerning delete-by-moving-to-trash on free systems
Date: Thu, 27 Nov 2008 15:00:00 +0100	[thread overview]
Message-ID: <87d4ghtgkf.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <492E9E4D.7040108@harpegolden.net> (David De La Harpe Golden's message of "Thu, 27 Nov 2008 13:19:09 +0000")

David De La Harpe Golden <david@harpegolden.net> writes:

Hi David,

>> I've just found out about that option, and basically it's nice.  But
>> in order to integrate emacs on the modern GNU desktop the moving to
>> trash should be in compliance with the Freedesktop.org Trash
>> Specification [1] on systems that support it.  This spec enables
>> undoing of deletions which requires storage of some metadata of
>> course.
>>
>
> FWIW, see #973 Support for moving files to freedesktop.org-style
> trashcan (with patch):
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=973

Nice!  Why do you fallback to ~/.local/share/ in
move-file-to-trash-freedesktop.  With the predicate you already checked
that XDG_DATA_HOME is set.  If it's not set in
move-file-to-trash-freedesktop I'd expect an error.

Does that have a chance to be included for 23.1?  I know, it's
feature-freeze, but even if it wouldn't do TRT in each and every case,
it cannot be worse than the current behavior, right?

Bye,
Tassilo




  reply	other threads:[~2008-11-27 14:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-27 10:09 Concerning delete-by-moving-to-trash on free systems Tassilo Horn
2008-11-27 13:19 ` David De La Harpe Golden
2008-11-27 14:00   ` Tassilo Horn [this message]
2008-11-27 14:35     ` David De La Harpe Golden
2008-11-27 14:58       ` Tassilo Horn
2008-11-27 15:26         ` Juanma Barranquero
2008-11-27 16:20           ` Tassilo Horn
2008-11-27 13:43 ` martin rudalics

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=87d4ghtgkf.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=david@harpegolden.net \
    --cc=emacs-devel@gnu.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).