GNU bug report logs - #47790
27.2; XDG_DATA_HOME evaluation in move-file-to-trash

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Thu, 15 Apr 2021 08:06:01 UTC

Severity: normal

Tags: notabug

Found in version 27.2

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 47790 <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thievol <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, 47790 <at> debbugs.gnu.org
Subject: Re: bug#47790: 27.2; XDG_DATA_HOME evaluation in move-file-to-trash
Date: Sat, 24 Apr 2021 07:14:27 +0000
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>,  47790 <at> debbugs.gnu.org
>> Date: Thu, 15 Apr 2021 13:12:29 +0100
>> 
>> IME when someone says "set FOO to $HOME/.foo" without any further
>> qualification they are implicitly referring to the expansion of
>> $HOME.
>
> That's what I knew, but Thierry seems to say otherwise.

Well, it is common to set PATH like this:

PATH="$HOME/bin:$PATH"

you find this in ~/.profile or ~/.bashrc on many distros.
I didn't find documentaion about this though.
Anyway the problem is if one do this with XDG_DATA_HOME and trash files
from different directories, a copy of his home directory will be done in
each of those directories under literally "$HOME/user".
If you consider this is fine and normal you can close this bug report.

Thanks.

-- 
Thierry
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.