From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Store org-files in a git repository? Date: Sat, 08 Sep 2012 10:45:31 +0200 Message-ID: <87fw6sykb8.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAGfi-0001PT-7k for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 04:45:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAGfg-0007VD-V4 for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 04:45:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:51728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAGfg-0007V6-AK for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 04:45:44 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TAGfh-0004gt-Gv for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 10:45:45 +0200 Received: from pd9eb4bc2.dip.t-dialin.net ([217.235.75.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Sep 2012 10:45:45 +0200 Received: from Stromeko by pd9eb4bc2.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Sep 2012 10:45:45 +0200 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: emacs-orgmode@gnu.org 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. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves