From: John Yates <john@yates-sheets.org>
To: Emacs developers <emacs-devel@gnu.org>
Cc: "Peter Stiernström" <peter@stiernstrom.se>,
"Eric Raymond" <esr@thyrsus.com>
Subject: [#61071] New features: VC timemachine and BackupOnSave to RCS
Date: Thu, 26 Jan 2023 07:06:41 -0500 [thread overview]
Message-ID: <CAJnXXogEPQ3r=YVUbC=pLMuJiw2etLkjsrL=fvmr253qzoc7dw@mail.gmail.com> (raw)
New bug tracker issue #61071. Here is [PATCH 0/3] cover letter:
This is a series of three bisectable (I hope :-) patches that culminate
in support of a new Emacs backup scheme:
* [PATCH 1/3] Refactor and document vc-find-revision caching
* [PATCH 2/3] Introduce VC timemachine capability
* [PATCH 3/3] Introduce vc-bos: backup on save (to an RCS file)
This Backup-On-Save scheme exploits a file system mirror scheme
introduced in the first patch. By exploiting a little known aspect
of RCS's algorithm for locating a master file, backups are stored
completely removed from the work file (i.e. no local RCS directories)
and under exactly the same filename (i.e. no ',v' suffix or similar).
Accessing backed-ups exploits a new vc-timemachine capability,
introduced in the second patch. Both the design and code owe much
to Peter Stiernström's original git-timemachine.el. To sidestep any
copyright issues, Peter has graciously assigned git-timemachine.el's
copyright to the FSF. With the submission timemachine functionality
is available in both vc-git and vc-rcs.
This backup scheme works equally well with files already under some
VCS as well as with files that are not currently version controlled.
For me (primarily a C++ programmer) this is:
* My first significant bit of elisp
* My first exposure to the VC codebase
* My first Emacs / FSF submission
I welcome all nature of feedback:
* Code criticism
* Violations of pertinent standards
* Bug reports
* Suggested improvement
* . . .
next reply other threads:[~2023-01-26 12:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 12:06 John Yates [this message]
2023-01-28 4:45 ` [#61071] New features: VC timemachine and BackupOnSave to RCS Richard Stallman
2023-01-28 14:35 ` John Yates
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJnXXogEPQ3r=YVUbC=pLMuJiw2etLkjsrL=fvmr253qzoc7dw@mail.gmail.com' \
--to=john@yates-sheets.org \
--cc=emacs-devel@gnu.org \
--cc=esr@thyrsus.com \
--cc=peter@stiernstrom.se \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).