[Top][All Lists]

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

Re: volatile /tmp [was: how to force auto-save of buffers not visiting f

From: hw
Subject: Re: volatile /tmp [was: how to force auto-save of buffers not visiting files, right now?]
Date: Mon, 21 Mar 2022 04:41:59 +0100
User-agent: Evolution 3.42.4 (3.42.4-1.fc35)

On Sun, 2022-03-20 at 12:13 +0100, wrote:
> On Sun, Mar 20, 2022 at 11:36:05AM +0100, hw wrote:
> > On Sun, 2022-03-20 at 09:05 +0100, wrote:
> > > On Sun, Mar 20, 2022 at 08:29:55AM +0100, wrote:
> > > 
> > > [...]
> > > 
> > > > > Apprently that leads to puttting some files into /tmp, and I would
> > > > > consider it a bug to put auto-save files into /tmp because doing that
> > > > > totally defeats the auto-saving because /tmp is volatile.
> > > 
> > > Note that the convention on Gnu/Linux is to use /var/tmp for things
> > > you want to persist across reboots. So perhaps just changing the
> > > replacement value might make you happy.
> > 
> > Well, I have set `tramp-auto-save-directory' to a suitable value, so
> > it doesn't really matter.
> > 
> > Shouldn't GNU Emacs use this GNU convention of using /var/tmp/ when
> > it's all GNU?
> That still depends on whether people want auto-saves to persist
> reboots. There doesn't seem to be a majority for it, much less a
> consensus.
> So either change it for yourself (and document what you did, to
> help others in your situation) or start convincing people if you
> want that to become a more general default :-)

Nah, it's simply a bug that files which are being stored in order to
recover your work after something went wrong --- and that "something"
includes having to reboot --- are being stored in such a way that
recovery is impossible.  It's a feature that doesn't work right and
thus needs to be fixed.

If people want to configure things so that they are broken, that's up
to them.  Intentionally choosing defaults for software in such a way
that the software isn't safe to use is not sane.

It would be like making guns with safety levers (or how ever they are
called) that shoot you when you use the safety lever for the safeness
it is supposed to provide.  Maybe that works when the majority of
people is insane.  Are we there yet?

reply via email to

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