From: Xavier Maillard <xma@gnu.org>
To: Timothy Hobbs <tim.thelion@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Automatic versioning
Date: Sat, 5 Apr 2008 02:00:23 +0200 [thread overview]
Message-ID: <200804050000.m3500NQ5004365@localhost.localdomain> (raw)
In-Reply-To: <m37ifdjr3c.fsf@xo-10-E6-7E.localdomain> (message from Timothy Hobbs on Fri, 04 Apr 2008 13:35:35 -0700)
Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:
>>> (defadvice save-buffer (before version activate)
>>> "I wish to have all files versioned, period."
>>> (ad-set-arg 0 '(64)))
>>
>> What exactly does this do?
>
> It makes save-buffer behave as if it were invoked as
> `C-u C-u C-u C-x C-s' (see "Prefixed with three C-u's"
> below).
> | Prefixed with three C-u's, marks this version
> | to become a backup when the next save is done,
> | and unconditionally makes the previous version into a backup file.
That seems like a terribly inefficient way of doing things. Creating many many
multiple backup copies. Especially because I save quite regularly. I could
easily end up with hundreds or thousands of backup copies. Not what I want. It
seems that there should be a system almost exactly like mediawiki's in which
diffs are saved, and you can see a list of versions, compare them--even across
ranges, revert them, spin through different versions with a next/previous
button. ect.
Another solution would be to "embed" some sort of the mechanism
from a modern DVC like GNU Bazaar or Git. Given the fact that
they have been "libitized" (you can take advantage of them by
linking your program against them), this should be quite easy to
implement.
WDYT ?
Xavier
--
http://www.gnu.org
http://www.april.org
http://www.lolica.org
next prev parent reply other threads:[~2008-04-05 0:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 7:30 My dream work log: Albert
2008-03-28 16:50 ` B. T. Raven
2008-03-29 17:18 ` Mike Treseler
2008-03-30 17:21 ` Choosing a versioning system (was My dream work log:) rustom
2008-03-30 17:50 ` Choosing a versioning system Thierry Volpiatto
2008-03-30 18:32 ` Choosing a versioning system (was My dream work log:) Mike Treseler
2008-03-31 19:06 ` Choosing a versioning system Joel J. Adamson
[not found] ` <mailman.9728.1206990435.18990.help-gnu-emacs@gnu.org>
2008-03-31 20:24 ` Mike Treseler
2008-03-30 18:59 ` Choosing a versioning system (was My dream work log:) Oleg Katsitadze
[not found] ` <mailman.9661.1206909269.18990.help-gnu-emacs@gnu.org>
2008-03-31 3:55 ` rustom
2008-03-31 6:38 ` Choosing a versioning system Thierry Volpiatto
2008-03-31 21:06 ` Mike Mattie
2008-04-03 18:25 ` Nikolaj Schumacher
2008-04-03 18:51 ` Thierry Volpiatto
2008-04-04 16:41 ` Nikolaj Schumacher
2008-04-04 17:46 ` Thierry Volpiatto
2008-03-31 8:22 ` Tim X
2008-03-31 22:23 ` Timothy Hobbs
2008-04-01 15:37 ` Automatic versioning (was: Choosing a versioning system) Joel J. Adamson
2008-04-01 20:48 ` Automatic versioning Timothy Hobbs
2008-04-02 13:39 ` Joel J. Adamson
2008-04-03 2:00 ` Kevin Rodgers
2008-04-03 5:22 ` Timothy Hobbs
2008-04-04 12:24 ` Kevin Rodgers
2008-04-04 13:44 ` Joel J. Adamson
2008-04-04 20:35 ` Timothy Hobbs
2008-04-05 0:00 ` Xavier Maillard [this message]
2008-04-05 4:21 ` Timothy Hobbs
2008-04-03 14:18 ` Joel J. Adamson
2008-04-04 12:28 ` Kevin Rodgers
2008-03-31 19:04 ` Choosing a versioning system Joel J. Adamson
2008-03-28 17:03 ` My dream work log: Thierry Volpiatto
[not found] ` <mailman.9546.1206722977.18990.help-gnu-emacs@gnu.org>
2008-03-29 8:36 ` Albert
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=200804050000.m3500NQ5004365@localhost.localdomain \
--to=xma@gnu.org \
--cc=help-gnu-emacs@gnu.org \
--cc=tim.thelion@gmail.com \
/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.