Re: [O] Store org-files in a git repository?

2012-09-14 Thread Bernt Hansen
Moritz Ulrich writes: > A simple cron job for committing doesn't sound that bad anymore ;-) Hi Moritz, I use an hourly cron/windows schedule job to make commits when changes occur in my org files. My script details are here in case you find it useful: http://doc.norang.ca/org-mode.html#GitSyn

Re: [O] Store org-files in a git repository?

2012-09-13 Thread Marcelo de Moraes Serpa
> > This calls for a good logging system. > Something that stores any action you take on a .org file (editing an > entry, marking it as DONE, clocking it, refiling it, etc.) and that you > can easily *query*. > For now the logs are somewhat hackish, more a casual convenience, > and the actual syste

Re: [O] Store org-files in a git repository?

2012-09-12 Thread Samuel Wales
On 9/12/12, Bastien wrote: > This calls for a good logging system. Of possible tangential relevance for the display part of it: "FR: inactive timestamps in log mode (and a sorting FR)"

Re: [O] Store org-files in a git repository?

2012-09-12 Thread Bastien
Moritz Ulrich writes: > 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. This calls for a good logging system. Something that s

Re: [O] Store org-files in a git repository?

2012-09-11 Thread Achim Gratz
Marcelo de Moraes Serpa writes: > 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. That doesn't solve the problem. A commit

Re: [O] Store org-files in a git repository?

2012-09-10 Thread Marcelo de Moraes Serpa
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 wrote: > > Achim Gratz writes: >

Re: [O] Store org-files in a git repository?

2012-09-10 Thread Moritz Ulrich
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 >> o

Re: [O] Store org-files in a git repository?

2012-09-08 Thread Achim Gratz
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 c

Re: [O] Store org-files in a git repository?

2012-09-07 Thread Charles Philip Chan
Marcelo de Moraes Serpa writes: Hello Marcelo and Moritz: > I have not done yet, but I do use git for my org repo; however, I > commit every 6 hours via cron (and the commit message is a timestamp). I have my org repo under git too. However, instead of a cron job, I use an after-save-hook: #+B

Re: [O] Store org-files in a git repository?

2012-09-07 Thread Marcelo de Moraes Serpa
I have not done yet, but I do use git for my org repo; however, I commit every 6 hours via cron (and the commit message is a timestamp). I'm planning to do something similar to what you described, but I haven't used org-merged-driver yet. I'll play with it and post my findings, if you do, let us kn

[O] Store org-files in a git repository?

2012-09-07 Thread Moritz Ulrich
Hello, 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 v