[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to force auto-save of buffers not visiting files, right now?
From: |
Emanuel Berg |
Subject: |
Re: how to force auto-save of buffers not visiting files, right now? |
Date: |
Sun, 20 Mar 2022 05:56:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Heerdegen wrote:
>> For example, I may edit a file '/usr/local/bin/example.pl'
>> which is owned by foo:foo because I made that so.
>> The directory '/usr/local/bin/' is owned by root. How do
>> you expect emacs to create a backup file there? For remote
>> files, I have set tramp-auto-save-directory to a local
>> directory, and I'm missing an equivalent option for
>> local files.
>
> I'm was talking about backup files, not about auto save.
> You can control where these are saved.
auto-save, `temporary-file-directory' ?
backup, `backup-directory-alist' ?
Never used any actively so don't know for sure ...
You can obviously "control" both/any/all in Emacs :)
> What kind of solution d you want to have? I find some of
> your answers contradicting, e.g. you say you don't want lots
> of backups because you don't want to delete them manually.
> But automatic deletion is also not good because ...
1. Keep files small.
X. Backup files don't take any disk space in any order
of significance.
2. Backups should be set up to be kept out of the way
automatically - or "not selected for the ACTUAL way when
push comes to shove" - or ... well, whatever, only this
should just work and be automated, so spend time to get it
right OR be happy to live on the edge with no backups.
Because there's no WAY in between!
... uhm, what's the right answer again?
--
underground experts united
https://dataswamp.org/~incal
- Re: how to force auto-save of buffers not visiting files, right now?, (continued)
- Re: how to force auto-save of buffers not visiting files, right now?, Emanuel Berg, 2022/03/19
- Re: how to force auto-save of buffers not visiting files, right now?, Michael Heerdegen, 2022/03/19
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/20
- Re: how to force auto-save of buffers not visiting files, right now?, Emanuel Berg, 2022/03/21
- Re: how to force auto-save of buffers not visiting files, right now?, hw, 2022/03/22
- Re: how to force auto-save of buffers not visiting files, right now?, Emanuel Berg, 2022/03/23
- Re: how to force auto-save of buffers not visiting files, right now?, Emanuel Berg, 2022/03/23
- Re: how to force auto-save of buffers not visiting files, right now?,
Emanuel Berg <=
- Re: how to force auto-save of buffers not visiting files, right now?, Jean Louis, 2022/03/21