From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Kappler Subject: Re: Best way to set up Org mode with MobileOrg over Dropbox Date: Thu, 03 Nov 2011 23:30:17 +0100 Message-ID: <87wrbgvnye.fsf@univie.ac.at> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM5nl-00087b-0x for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 18:30:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM5nj-0000T6-In for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 18:30:24 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:57641) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RM5nj-0000QH-5e for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 18:30:23 -0400 In-Reply-To: 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: Nikolai Weibull , emacs-orgmode@gnu.org Hi Nikolai, > As I can hardly be the only person with two computers, a mobile, and a > desire to keep my org-agenda-files in sync between these three > computers, I=E2=80=99ll pose this question here: How do you have this set= up? I am using git to sync several laptops and Desktop computers. Every 5 minutes a cronjob runs a shell script that automatically runs =3Dgit pull=3D -- and =3Dgit add=3D on org files as well files listed in the =3D.gitcroncommit=3D file. The commit message is comprised of the filenames of all changed files as well as a prefix for detection in git logs ("cron autocommit", parameterized) and the hostname. The auto commit is performed only if - no files have been staged manually. - git is in the auto branch (where mine is always). This prevents cluttering the git history of the master branch. When I change computers I run [[http://www.neilvandyke.org/revbufs/revbufs.el][revbufs]] and can thus quite seamlessly switch computers and just work on. I know, tracking of text changes in 5 min intervals is obsessive. But it eases agenda clocking reviews tremendously. I use git log for displaying changes during an entry in the agenda. I do not use MobileOrg because, when I last checked, the Android app was not able to handle all my org files (it would need some fiddling on what exactly I want mobile) and seemed to lack functionality compared to the iphones. Maybe I will give it another shot shortly. I guess when you have synced org files across all your emacs instances, pushing and pulling to mobileorg from any at (nearly) all times is possible. I am glad to share the code, but it needs some cleanups and some stuff is first emacs-lisp steps, clumsy and irresponsible. Best,=20=20 Gregor