From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: MobileOrg: index.org links files to the wrong folder Date: Fri, 8 Jul 2016 23:21:56 -0400 Message-ID: Reply-To: ldcmrtn@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLiqU-0007gC-L8 for emacs-orgmode@gnu.org; Fri, 08 Jul 2016 23:22:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLiqP-0006z8-4X for emacs-orgmode@gnu.org; Fri, 08 Jul 2016 23:22:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:56394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLiqO-0006yF-TV for emacs-orgmode@gnu.org; Fri, 08 Jul 2016 23:22:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bLiqM-0008BC-Fv for emacs-orgmode@gnu.org; Sat, 09 Jul 2016 05:22:14 +0200 Received: from modemcable138.184-22-96.mc.videotron.ca ([96.22.184.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jul 2016 05:22:14 +0200 Received: from ldcmrtn by modemcable138.184-22-96.mc.videotron.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jul 2016 05:22:14 +0200 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 Hi, I really enjoy the MobileOrg project. However, since some time, I cannot access my org files anymore from my iPhone (I see the file names, but nodes are empty). After some search, I found that the links made in the index.org point relatively to the org-directory while they are supposed (if I'm understanding correctly) to point to the org files in the same directory as the index.org (that is in org-mobile-directory). My emacs configuration is the following: (setq org-directory "~/Dropbox/env/org-mode-files") (setq org-mobile-inbox-for-pull "~/Dropbox/env/org-mode-files/flagged.org") (setq org-mobile-directory "~/Dropbox/Apps/MobileOrg") (setq org-mobile-files '("~/org-mode-files/test.org")) The generated index.org file in MobileOrg/ looks like: #+READONLY #+TODO: TODO #+TODO: NEXT WAITING SOMEDAY | #+TAGS: @HOME WORK EMAIL CALL READ ERRAND AGENDAS #+ALLPRIORITIES: A B C * [[file:agendas.org][Agenda Views]] * [[file:~/org-mode-files/test.org][test.org]] The test.org file cannot be read from my iPhone since only the org-mobile-directory is accessible to it. I cannot see from the code or my configuration what causes this behavior, but if I'm going back to this specific commit: commit 74d3bd484fc0c79fd51302922c0eee8c3042fe14 Author: Nicolas Goaziou Date: Sun Apr 17 17:00:14 2016 +0200 the org-mobile-push now creates the index.org correctly with the last line as follows : * [[file:test.org][test.org]] So I see three possibilities: (1) I need to use a different emacs configuration since this commit, (2) there is some bug in the code or (3) I missed an important detail. Thank you in advance for helping, Martin