From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Hudson Subject: Re: MobileOrg: adding new file Date: Wed, 15 Jun 2016 09:46:14 +0100 Message-ID: References: <874m8yee12.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD6T6-0000IP-JB for emacs-orgmode@gnu.org; Wed, 15 Jun 2016 04:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bD6T5-0004ZC-9F for emacs-orgmode@gnu.org; Wed, 15 Jun 2016 04:46:36 -0400 Received: from mail-vk0-x230.google.com ([2607:f8b0:400c:c05::230]:36593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bD6T5-0004Z8-4k for emacs-orgmode@gnu.org; Wed, 15 Jun 2016 04:46:35 -0400 Received: by mail-vk0-x230.google.com with SMTP id u64so20285724vkf.3 for ; Wed, 15 Jun 2016 01:46:35 -0700 (PDT) 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" To: =?UTF-8?Q?Beno=C3=AEt_Coste?= Cc: "emacs-orgmode@gnu.org" On 14 June 2016 at 13:20, Beno=C3=AEt Coste wrote: > So what I wanted to discuss was the possibility for a MobileOrg to create > new files from its phone and keep them synched. > > Currently the list of synched files is a file called "index.org" stored i= n > the synch folder and Emacs and MobileOrg use ite for pulling changes. > However everytime Emacs pushes a changes, it overwrites this file. Becaus= e > for pushing, Emacs use a second list of files, the variable > 'org-agenda-files and it will recreate a new index.org based on > org-agenda-files content. To conclude, if MobileOrg had added a file to > synch in index.org, it will be removed from the list after next Emacs pus= h. > > So my suggestion is for Emacs to stop using org-agenda-files to generate = the > list of synched file but use the currently existing index.org. In case > index.org does not exist (for eg. at repo initialization), then > org-agenda-files can be used to create it. > > To be honest, after a lot of reflexion, I think more and more about using= a > external synch mechanism (such as git) instead of using org-mobile.el. A > positive point would be to allow non-Emacs people to use MobileOrg with > synchronization. So I may not even use my own suggestion but I still thin= k > it is worth to mention this "incoherence". > > Regards > > On Sun, Jun 12, 2016 at 3:24 PM Nicolas Goaziou > wrote: >> >> Hello, >> >> Beno=C3=AEt Coste writes: >> >> > I am working on remodeling MobileOrg for Android and I'd like to discu= ss >> > a >> > few changes for mobile-org.el. >> >> I read your mail from a month ago. Unfortunately, I don't know enough of >> this library to be useful to the discussion. >> >> > I am trying to contact the maintainer of mobile org. The file >> > mobile-org.el >> > says carsten@orgmode.org but I tried it and it is not working. Does >> > anyone >> > know who is currently maintaining mobile-org.el ? >> >> It is part of Org core, so anyone with write access to repository can >> maintain it. The current maintainer is Bastien Guerry, who reads this >> list. IOW, you can discuss the changes here. There is already one-way information transfer from MobileOrg to Emacs, via the file mobileorg.org. This is processed by `org-mobile-pull'. Could it be adapted to include a new instruction type for telling Emacs about any new files to include? Function `org-mobile-apply' looks like the one to modify (and rename meaningfully, and functionally decompose...) --=20 Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887DCA63