this post was submitted on 20 Oct 2023
1 points (100.0% liked)
Emacs
311 readers
1 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's what git is for, or just having undo-tree from which the file can be reverted to a previous state.
I tried to keep auto-saves and backup files in their own separate directory, since they always litter my projects which is annoying, but they just won't listen, I have to disable them.
Even for files which are being tracked in version control, I don't agree that VCS always replaces backups. In some cases, yes; but backups are to protect me from data loss, and I want that protection in more situations than VCS gives me.
I assume you mean "with a persistent undo record", which is another form of backup file, so sure -- whichever kind(s) of backup you prefer. Personally I believe I'd still want regular backups even if I used that -- if I can't trivially grep or compare old versions, I'd feel I'm missing a capability.
I keep all backups in a separate directory, and I do not experience your problem, so that sounds to me like a fixable config issue.