emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Best way to set up Org mode with MobileOrg over Dropbox
@ 2011-11-03 19:03 Nikolai Weibull
  2011-11-03 22:30 ` Gregor Kappler
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolai Weibull @ 2011-11-03 19:03 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

I would like to use Org mode with MobileOrg over Dropbox and have all
my org-agenda-files synced between all my computers, that is, my home
computer, my work computer, and my mobile.  Currently, as I understand
MobileOrg and org-mobile-push/-pull, MobileOrg is only really designed
to sync between one computer and your mobile.  I have checked the
manuals and the internets, but to no avail.

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?

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Best way to set up Org mode with MobileOrg over Dropbox
  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
  2011-11-04 12:38   ` OT: syncing computers with git (was: Best way to set up Org mode with MobileOrg over Dropbox) Karl Voit
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Kappler @ 2011-11-03 22:30 UTC (permalink / raw)
  To: Nikolai Weibull, emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* OT: syncing computers with git (was: Best way to set up Org mode with MobileOrg over Dropbox)
  2011-11-03 22:30 ` Gregor Kappler
@ 2011-11-04 12:38   ` Karl Voit
  0 siblings, 0 replies; 3+ messages in thread
From: Karl Voit @ 2011-11-04 12:38 UTC (permalink / raw)
  To: emacs-orgmode

* Gregor Kappler <g.kappler@gmx.net> wrote:
>
> 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.

If you want to switch from a pulling to an interrupt system, you
might be interested in http://www.mayrhofer.eu.org/dvcs-autosync

-- 
Karl Voit

Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-04 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-11-04 12:38   ` OT: syncing computers with git (was: Best way to set up Org mode with MobileOrg over Dropbox) Karl Voit

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).