From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#47790: 27.2; XDG_DATA_HOME evaluation in move-file-to-trash Date: Sat, 24 Apr 2021 07:14:27 +0000 Message-ID: <87v98cuowx.fsf@posteo.net> References: <871rbcnfb5.fsf@posteo.net> <83y2dkx8ke.fsf@gnu.org> <87y2djn7st.fsf@posteo.net> <874kg7zqz6.fsf@tcd.ie> <83v98nybw7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37840"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Basil L. Contovounesios" , 47790@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 09:24:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1laCeA-0009l7-LV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 09:24:10 +0200 Original-Received: from localhost ([::1]:53296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laCe8-0008Jz-5J for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 03:24:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laCe2-0008Jt-6Q for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 03:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laCe1-00019i-V2 for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 03:24:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laCe1-0006Lg-QC for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 03:24:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Apr 2021 07:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47790 X-GNU-PR-Package: emacs Original-Received: via spool by 47790-submit@debbugs.gnu.org id=B47790.161924900524358 (code B ref 47790); Sat, 24 Apr 2021 07:24:01 +0000 Original-Received: (at 47790) by debbugs.gnu.org; 24 Apr 2021 07:23:25 +0000 Original-Received: from localhost ([127.0.0.1]:39377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laCdR-0006Kn-9J for submit@debbugs.gnu.org; Sat, 24 Apr 2021 03:23:25 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:37691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laCdP-0006KZ-Au for 47790@debbugs.gnu.org; Sat, 24 Apr 2021 03:23:23 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0777A2400E5 for <47790@debbugs.gnu.org>; Sat, 24 Apr 2021 09:23:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619248997; bh=/qpDblZIdFMVrPEveMN/qz/9oZLTVOWHw+RgNc/lOV0=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=F72LnRhIJ2tWmY2Wk5BurwSYPGhhdnhvIUVXSijIY04V+W2rSVHgElpujnEkxSD0R SXPzYiYBBQ8UKw1u5kV4O06JFy3Q7PCcoD088B0QcX19LwOivQuX64lyWRFKYSkn4P 1T4gw3ozNnBdqlsWJC50MHrlIaiFPI5TDeBEjRi6HjyEMDt7zhAAPu/6YKhuMrczu4 pYd+lln6hj34DapT9MawwPC43sDxzQRmHy1GIUZ+9qoEkBL5Y/yWYN39f/zJV2jdN7 a3RtmX+jI2XTF0D3yepEeZxeYalXCLbSbf/I2mM3U3jnNbVLYgWAgCN7F57v0ElwEx /cRK2NrvoyRjQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FS2gk6jKhz9rxL; Sat, 24 Apr 2021 09:23:14 +0200 (CEST) In-reply-to: <83v98nybw7.fsf@gnu.org> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204777 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: "Basil L. Contovounesios" >> Cc: Eli Zaretskii , 47790@debbugs.gnu.org >> Date: Thu, 15 Apr 2021 13:12:29 +0100 >>=20 >> 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=3D"$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. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmCDx18THHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk2y+C/0ROYqTQt6Sq16ogAw+bGDQkJSz/YY6 99z7KatO4XmFwLBmE/iMbQbnVGW49qwVCZnm6f9kODTArtrWFvpS4AN0euqGmIvv 7fHg3epfZtHZNtx2+uMzNf9e4Ez6t7xTZZdgkWUVLLOstRClCJRzyAgi8rrvoDZJ 33hWIHdOPvudj3ZEykUgn8Z16bC6j6nQBP7VQcWCMHPso1RHtP+QmSJEHKOKW0SC Mb+eZjTPtuDhp/ESVbKNlIbiP/D+QX/1BPDKbsOWAwVnmOPeuWZvmQVgv+lerpKJ gpXpEKMfyN6FBllknpCvNdmCDjq5nxg8n0WIcCWh9mSbEaLOoi+oUPJLDRKfgkW8 g6hq9rLPqLtFXXTANvKUEGKx8FsL/OkFIymj6tZSgz032ceBNoUIrIWnFlQJW/TH 8TC1AS5ayUTGKexajzrtdO/G6QPByKZODZ7W7yM4DHjxhTR+Jh3AG+BJ6KZxoD33 uA/tiI9ibuCDRF8hcEr9ywFYow5TWiIWpNY= =a3Ie -----END PGP SIGNATURE----- --=-=-=--