[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to disable auto save on Emacs 26.1
From: |
Marcin Borkowski |
Subject: |
Re: How to disable auto save on Emacs 26.1 |
Date: |
Thu, 04 Oct 2018 19:21:54 +0200 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
On 2018-10-04, at 14:55, Skip Montanaro <skip.montanaro@gmail.com> wrote:
>> If your concern is file system clutter, better leave auto-save alone.
>> It's not going to clutter your file system (unless something else is
>> going horribly wrong). As for backup, you can disable it or even teach
>> it to use one directory for all backups (I have typically something
>> beneath my ~/.emacs.d).
>
> Coming a bit late to the game... Adding to Tomás's point, if you want
> to eliminate backup files, don't just disable it. Replace it with a
> proper version control system of some sort. Think of backup files (I
> generally use numeric backups to actually retain more than one old
> copy - more clutter!) as a defense against shooting yourself in the
> foot. A version control system does that, only better. [...]
That is a very sound advice. I'd like to point out, however, that the
backup files (even the numbered ones) actually do have their place even
in the presence of VCSs. (Coincidentally, I have a blog post ready for
publishing about exactly this issue, and I plan to post it online on
Saturday.) My use-case is a .env file, containing sensitive data (like
passwords) the application I'm working on needs. It must not be
committed to a Git repo, but being able to look at one (or more)
previous versions (as in, "what was the last version that wan't somehow
broken") is sometimes quite valuable.
Just my 2 cents,
--
Marcin Borkowski
http://mbork.pl
- How to disable auto save on Emacs 26.1, Tom Wallenfang, 2018/10/03
- Re: How to disable auto save on Emacs 26.1, Martin Šlouf, 2018/10/03
- Re: How to disable auto save on Emacs 26.1, Stefan Monnier, 2018/10/03
- Message not available
- Re: How to disable auto save on Emacs 26.1, Tom Wallenfang, 2018/10/03
- Re: How to disable auto save on Emacs 26.1, tomas, 2018/10/04
- Re: How to disable auto save on Emacs 26.1, Skip Montanaro, 2018/10/04
- Re: How to disable auto save on Emacs 26.1, Van L, 2018/10/04
- Fossil [Was: Re: How to disable auto save on Emacs 26.1], Garreau, Alexandre, 2018/10/06
- Re: Fossil [Was: Re: How to disable auto save on Emacs 26.1], Van L, 2018/10/06
- Re: Fossil [Was: Re: How to disable auto save on Emacs 26.1], tomas, 2018/10/06
- Re: How to disable auto save on Emacs 26.1,
Marcin Borkowski <=
- Re: How to disable auto save on Emacs 26.1, Marcin Borkowski, 2018/10/06
- Message not available
- Re: How to disable auto save on Emacs 26.1, James K. Lowden, 2018/10/05
- Message not available
- Re: How to disable auto save on Emacs 26.1, Stefan Monnier, 2018/10/04
- Re: How to disable auto save on Emacs 26.1, tomas, 2018/10/04
- Message not available
- Re: How to disable auto save on Emacs 26.1, Tom Wallenfang, 2018/10/04
Message not available