From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Moritz Ulrich <moritz@tarn-vedra.de>
Cc: Achim Gratz <Stromeko@nexgo.de>, emacs-orgmode@gnu.org
Subject: Re: Store org-files in a git repository?
Date: Mon, 10 Sep 2012 21:18:38 -0500 [thread overview]
Message-ID: <CACHMzOFv47FxLM-nOirdfOxf2Z20XYpxwYNi9J7PThE51PUs-A@mail.gmail.com> (raw)
In-Reply-To: <m27gs1o6tm.fsf@tarn-vedra.de>
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
It'd be nice to see how Google Docs does its versioning and try to model
something like that for org. I think it's a version per data saved. I
currently use a cron, but I see some value in versioning after each save.
On Mon, Sep 10, 2012 at 5:23 PM, Moritz Ulrich <moritz@tarn-vedra.de> wrote:
>
> Achim Gratz writes:
>
> > Moritz Ulrich writes:
> >> I plan to put my org directory (where I keep among other my agenda
> >> files) under version control and would like to have some sort of
> >> specialized function for that.
> >>
> >> My dream setup would be a range of functions hooking into all sorts of
> >> org-mode hooks, automatically committing changes done via the agenda or
> >> other org functions together with a context dependent commit message.
> >
> > »The road to hell is paved with good intentions.« — proverb
> >
> > What you're proposing (if I understand it correctly) would introduce
> > transactions to Org and with it the non-trivial problem of determining
> > when a transaction is finished (and started, but that's really another
> > one). Git would merely be the mechanism to record the transactions and
> > probably not a good one at that even with the merge driver.
> >
> > THat aside, even if it worked I'm sure it would annoy me so much I'd
> > switch it off entirely.
> >
> >
> > Regards,
> > Achim.
>
> I rarely thought about the problem of transactional operations in
> org-mode. From the standpoint you mentioned, my dream doesn't look that
> nice anymore.
>
> A simple cron job for committing doesn't sound that bad anymore ;-)
>
> Thanks for saving me much work.
>
>
> Cheers,
> Moritz Ulrich
>
> --
> Moritz Ulrich
>
[-- Attachment #2: Type: text/html, Size: 2226 bytes --]
next prev parent reply other threads:[~2012-09-11 2:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-07 23:28 Store org-files in a git repository? Moritz Ulrich
2012-09-07 23:57 ` Marcelo de Moraes Serpa
2012-09-08 0:26 ` Charles Philip Chan
2012-09-08 8:45 ` Achim Gratz
2012-09-10 22:23 ` Moritz Ulrich
2012-09-11 2:18 ` Marcelo de Moraes Serpa [this message]
2012-09-11 18:11 ` Achim Gratz
2012-09-14 11:15 ` Bernt Hansen
2012-09-12 14:18 ` Bastien
2012-09-12 16:52 ` Samuel Wales
2012-09-13 18:05 ` Marcelo de Moraes Serpa
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACHMzOFv47FxLM-nOirdfOxf2Z20XYpxwYNi9J7PThE51PUs-A@mail.gmail.com \
--to=celoserpa@gmail.com \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
--cc=moritz@tarn-vedra.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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).