bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47790: 27.2; XDG_DATA_HOME evaluation in move-file-to-trash


From: Basil L. Contovounesios
Subject: bug#47790: 27.2; XDG_DATA_HOME evaluation in move-file-to-trash
Date: Thu, 15 Apr 2021 13:12:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Thierry Volpiatto <thievol@posteo.net> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Is this a valid setting of an environment variable?
>
> Probably not in emacs with setenv, but in a .profile or .bash_profile,
> maybe,

In shell RC files, double quotes would expand any contained variables.

> at least according to
> https://specifications.freedesktop.org/basedir-spec/latest/ar01s03.html

That spec doesn't say anything about variable expansion in different
contexts.  IME when someone says "set FOO to $HOME/.foo" without any
further qualification they are implicitly referring to the expansion of
$HOME.

FWIW,

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]