From: Gregor Kappler <g.kappler@gmx.net>
To: Nikolai Weibull <now@bitwi.se>, emacs-orgmode@gnu.org
Subject: Re: Best way to set up Org mode with MobileOrg over Dropbox
Date: Thu, 03 Nov 2011 23:30:17 +0100 [thread overview]
Message-ID: <87wrbgvnye.fsf@univie.ac.at> (raw)
In-Reply-To: <CADdV=MuUGzV++OUQSSGg99wEi=oybA-TTKspk17WFufS2LKOFQ@mail.gmail.com>
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’ll 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
=git pull= -- and =git add= on org files as well files listed in the
=.gitcroncommit= 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,
Gregor
next prev parent reply other threads:[~2011-11-03 22:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 19:03 Best way to set up Org mode with MobileOrg over Dropbox Nikolai Weibull
2011-11-03 22:30 ` Gregor Kappler [this message]
2011-11-04 12:38 ` OT: syncing computers with git (was: Best way to set up Org mode with MobileOrg over Dropbox) Karl Voit
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=87wrbgvnye.fsf@univie.ac.at \
--to=g.kappler@gmx.net \
--cc=emacs-orgmode@gnu.org \
--cc=now@bitwi.se \
/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).