From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Syncing methods for org files and org-mobile.el Date: Fri, 13 Jan 2017 11:18:03 -0500 Message-ID: <874m130w90.fsf@gmail.com> References: <87ziivdzy5.fsf@ucl.ac.uk> <5ac759095a61410cb97fa7addd9665b8@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87o9zbc6co.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS4Yr-0000Mv-FF for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 11:18:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS4Yo-0008VS-Co for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 11:18:41 -0500 Received: from [195.159.176.226] (port=45959 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cS4Yo-0008Uz-5R for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 11:18:38 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cS4YZ-0007Jl-Fx for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 17:18:23 +0100 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" To: emacs-orgmode@gnu.org Eric S Fraga writes: > On Friday, 13 Jan 2017 at 14:13, Anssi Saari wrote: >> Between Emacsen files saved in Dropbox works fine (although I'd rather >> not use Dropbox for anything) but on mobile Dropbox doesn't sync as far >> as I know. > > I'm not sure what you mean but, in the Android version of mobileorg, > syncing with Dropbox happens automatically with the frequency I specify. I'm guessing he means that the syncing has to be event-driven, not time-driven. He wants the sync to happen just before emacs exits: that way, everything is up to date. Time-driven syncing would be racy. I wonder if there is a before-exit hook that can be used. -- Nick