all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Skip Montanaro <skip.montanaro@gmail.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>, tom@wallenfang.de
Subject: Re: How to disable auto save on Emacs 26.1
Date: Thu, 04 Oct 2018 19:21:54 +0200	[thread overview]
Message-ID: <87woqx39vx.fsf@mbork.pl> (raw)
In-Reply-To: <CANc-5UzvdQAx1YJH94DqJ4QvMjU0OvUfp5_ap9GZWujTCNOXAQ@mail.gmail.com>


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



  parent reply	other threads:[~2018-10-04 17:21 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-03 13:10 How to disable auto save on Emacs 26.1 Tom Wallenfang
2018-10-03 13:34 ` Martin Šlouf
2018-10-03 13:55 ` Stefan Monnier
     [not found] ` <mailman.1669.1538575056.1284.help-gnu-emacs@gnu.org>
2018-10-03 14:16   ` Tom Wallenfang
2018-10-04 11:04     ` tomas
2018-10-04 12:55       ` Skip Montanaro
2018-10-04 14:47         ` Van L
2018-10-06 11:34           ` Fossil [Was: Re: How to disable auto save on Emacs 26.1] Garreau, Alexandre
2018-10-06 14:32             ` Van L
2018-10-06 19:17             ` tomas
2018-10-04 17:21         ` Marcin Borkowski [this message]
2018-10-06  6:24           ` How to disable auto save on Emacs 26.1 Marcin Borkowski
     [not found]       ` <mailman.1701.1538657386.1284.help-gnu-emacs@gnu.org>
2018-10-05 18:04         ` James K. Lowden
     [not found]     ` <mailman.1698.1538651613.1284.help-gnu-emacs@gnu.org>
2018-10-04 13:10       ` Stefan Monnier
2018-10-04 14:49         ` tomas
2018-10-04 13:44       ` Tom Wallenfang
     [not found] ` <mailman.1668.1538573687.1284.help-gnu-emacs@gnu.org>
2018-10-03 14:19   ` Tom Wallenfang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87woqx39vx.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=skip.montanaro@gmail.com \
    --cc=tom@wallenfang.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.