help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Reviewing versioned backups


From: Michael Heerdegen
Subject: Re: Reviewing versioned backups
Date: Wed, 31 Mar 2021 01:41:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Philip Kaludercic <philipk@posteo.net> writes:

> > You could still use Git/Magit it but it would need some setup.  You
> > could, for example, instruct `backup-directory-alist' to assign backups
> > a special directory, make it a Git repository, and instruct Emacs to
> > commit each new backup automatically.
>
> But this wouldn't give me a direct overview of all backup versions, it
> would just version the backups. What I am looking for is making use of
> versioned backups, that can easily be reviewed.

My idea was that you make Emacs automatically commit these backups after
creation (thus the separate directory, you can set it up as a separate
repository), and then use Magit or VC or whatever to view and diff.

> I was wondering for the longest time why there is no interface for
> versioned backups.

I once tried to live with versioned backups myself but I gave up because
it used too much space.  My .gnu-emacs is nearly 1 MByte, a thousand
saves are reached quickly, and you want to keep versions for a long
time.  After having used up several GBytes in a suprising short period
of time I chose a different approach.  IMO handling this with a VCS is
the better approach.


Regards,

Michael.




reply via email to

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