[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs in ~/.cache
From: |
Colin Baxter |
Subject: |
Re: emacs in ~/.cache |
Date: |
Sun, 13 Aug 2023 16:38:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux) |
>>>>> Michael Albinus <michael.albinus@gmx.de> writes:
> Colin Baxter <m43cap@yandex.com> writes: Hi,
>> I've noticed that emacs now puts a directory into ~/.cache. This
>> is in Debian but I assume emacs in other systems are behave the
>> same. I think that ~/.cache/emacs is fairly new, perhaps
>> beginning emacs-28, but I am not certain.
>>
>> I have never seen ~/.cache/emacs populated with anything, so what
>> is its purpose?
> Tramp 2.7 (of Emacs 30) uses ~/.cache/emacs as temporary
> directory, if possible. The reason are security considerations.
I have
--8<---------------cut here---------------start------------->8---
(setq tramp-auto-save-directory "$HOME/.emacs.d/tmp")
(setq temporary-file-directory "$HOME/.emacs.d/tmp")
--8<---------------cut here---------------end--------------->8---
Presumably that's ok, as far as tramp is concerned?
Colin.