[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please document the caching and its user options
From: |
Björn Bidar |
Subject: |
Re: Please document the caching and its user options |
Date: |
Sun, 23 Jun 2024 12:12:58 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> >> I was referring to some kind of global option that defines cache
>> >> directory, data directory, etc. Something akin XDG.
>> >
>> > We already have xdg-cache-home (and a few others in xdg.el). Is that
>> > what you meant?
>>
>> Yes, except that `xdg-cache-home' is limited:
>>
>> 1. It cannot be customized by users
>
> Of course it can: just make the default value of a defcustom be
> derived by xdg-cache-home, and users can then customize the option to
> a different value if they want.
That and it can be overridden just like any XDG Directory variable using
environment variables.