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 11:30:06 +0000 Message-ID: <87o8e3c3xa.fsf@posteo.net> References: <871rbcnfb5.fsf@posteo.net> <83y2dkx8ke.fsf@gnu.org> <87y2djn7st.fsf@posteo.net> <874kg7zqz6.fsf@tcd.ie> <83v98nybw7.fsf@gnu.org> <87v98cuowx.fsf@posteo.net> <878s58t0d0.fsf@tcd.ie> 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="35230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47790@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 24 13:35:11 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 1laGZ4-000927-VU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 13:35:10 +0200 Original-Received: from localhost ([::1]:52578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1laGZ3-0001jW-U9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Apr 2021 07:35:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1laGYw-0001jO-2a for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 07:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1laGYv-0004Zp-Pz for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 07:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1laGYv-0008Ka-N1 for bug-gnu-emacs@gnu.org; Sat, 24 Apr 2021 07:35: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 11:35: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.161926404831958 (code B ref 47790); Sat, 24 Apr 2021 11:35:01 +0000 Original-Received: (at 47790) by debbugs.gnu.org; 24 Apr 2021 11:34:08 +0000 Original-Received: from localhost ([127.0.0.1]:39585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laGY4-0008JN-18 for submit@debbugs.gnu.org; Sat, 24 Apr 2021 07:34:08 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:40119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1laGXz-0008Ir-J0 for 47790@debbugs.gnu.org; Sat, 24 Apr 2021 07:34:07 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A64C924002B for <47790@debbugs.gnu.org>; Sat, 24 Apr 2021 13:33:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619264037; bh=FuqJWdKH+sDEZ/AAXjYIBw+A8P0y9CzJDQUb5cAR+vo=; h=From:To:Cc:Subject:Date:From; b=ergxBnEbh3H/6wlmCG13iT8KJF1VzBrz/Plddb0joEcbPr2v83oWA1DDMbfH2blqw ZRBkbvfAdtl9CZ6y91zfS1LS02IA5G04zl/WoPxNcjappJnW1tjLd28cPiejq43wmH lkYUNCJONMYWROSUuY03K9gakrKN3ncLT6/8FyPrdRn+7rXcQ0+hP6n46tC4b1lR0i dNB0adXUkSmM4/wSm7YwUc72jBTlATquWccyMcjuUrxEgjMj6vwtgE8cZ5dsvacSMU AQ5KAHDKlyw4AvKaOq+JIToIphBbAfGzgG3hs6ACZJtOvw9l7PzDqHydF2EoDymo96 iQa63r2pnQdjw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FS8F01rbTz6tmR; Sat, 24 Apr 2021 13:33:56 +0200 (CEST) In-reply-to: <878s58t0d0.fsf@tcd.ie> 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:204791 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "Basil L. Contovounesios" writes: > Thierry Volpiatto writes: > >> 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. > > Any variables enclosed in double quotes "..." are expanded when this > expression is evaluated by the shell. > > You can confirm this by running 'echo "$PATH"'. I already know this. >> I didn't find documentaion about this though. > > See one of the following: > - 'man 1 dash', headings 'Double Quotes' and 'Parameter Expansion'. > - 'man 1 bash', headings 'QUOTING' and 'Parameter Expansion'. > - (info "(bash) Double Quotes") > https://gnu.org/software/bash/manual/html_node/Double-Quotes.html I know this as well... but this is unrelated to the problem you have in emacs. >> 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". > > But this only happens when you set XDG_DATA_HOME to a string that > includes shell variables, right? If so... > >> If you consider this is fine and normal you can close this bug report. > > ...then I don't think that was ever implied as being supported, and I > don't see the need to support it, but that's just one impression. Fair enough, so you can close this. Thanks. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmCEAiETHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvk73gDACn/NwHBCHgXE2/Vcwi+c/VBkc0nFUF o57M0tzwKq743boxZlApXvVZ2x+DlyRk+XzERYDKOezZsH89eEIG6ubP097y1r7y 2/7/ctTIepXZVvEGOUFSMwK8n6+i2UJGeau8IcqYjHxGpJkBUYusKK3tV7CJpcdG QEpAX/WlTwee5VAMn/5ADw6Gp9moBsYBhi81HE2i+gQEouMSTdAUyGPwbU4Mm23C DilBk5PkKbWtFwmvFEmfB9P9yUJiI9u6Yr1qyk9Y0FjH9w5xKYpp25F7QNgX3B/E o7r8Qse5Pimx2IQKrEVDlzBMU98ylxdIfVsAgTSsY1r9DIfDN7zkVmSu5WoJn4gG LPPXbs59KDgrVRav9QpPbYgYny9P2v1tjd5v2gwksi39uAJOiy9Eu4fh5TdzUvEk 3CE6ioLXHBaONKtnWx2rP461VEtNLAGOTp2PLLUWGJ75Mu/e5a2Zb7zqgw4h7Vib jdgEddpKWm7Raq1tkHGQYtmFoc3dGsVhdPg= =LNCd -----END PGP SIGNATURE----- --=-=-=--