From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moritz Ulrich Subject: Re: Store org-files in a git repository? Date: Tue, 11 Sep 2012 00:23:49 +0200 Message-ID: References: ,<87fw6sykb8.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBCOg-0003pM-6b for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 18:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBCOf-00046L-2n for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 18:24:02 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:40980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBCOe-000462-TC for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 18:24:01 -0400 Received: by eeke49 with SMTP id e49so1748214eek.0 for ; Mon, 10 Sep 2012 15:23:59 -0700 (PDT) In-reply-to: <87fw6sykb8.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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. > > =C2=BBThe road to hell is paved with good intentions.=C2=AB =E2=80=94 pro= verb > > 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 =2D- Moritz Ulrich --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) iQEcBAEBCAAGBQJQTmh1AAoJEKUFGO1Zs0thKy0H/0mLAOnDSBtKv0GqNbQ+5ahn iPGoR+jlzJtKcevTQUdUSgsiSRQqaMU8xzRoBEuva7/NmN45LbYE8PpilgnVmyRa opMyleqQihqC7IIZ47S0GOQdzqOfBkx6ab/CUO9dTF2bxrSQtUh1KC6aCrJ6ZtLo z1mD4IJ0zJ8anzaYrvjEbGF3CEpzQZXT6sLq2R4Y/yHcpBqbPyas8BX4XLz6jl9k 8RaRyeq5BnCQdkI5jd60qVYdyhIluF6xIkjzYF/3eicfdqh3ma1eOwcxMOJVBOrt ftYBxVJ9ADz5DHzWRXu6iWgBn5S420dmZCDNAQR4kdX9FUDVtSBz30RlIMWZq4o= =Maze -----END PGP SIGNATURE----- --=-=-=--