From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Variable `org-mobile-directory` must point to an existing directory. Multiplatform setup, howto Date: Tue, 29 May 2012 08:17:51 +0100 Message-ID: <4FC4781F.7080407@wilkesley.net> References: <4FC1FB0B.5090405@wilkesley.net> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZGhC-0006NQ-4G for emacs-orgmode@gnu.org; Tue, 29 May 2012 03:18:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZGh5-0002K1-KL for emacs-orgmode@gnu.org; Tue, 29 May 2012 03:18:21 -0400 Received: from mail2.wilkesley.net ([109.74.196.44]:39510 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZGh5-0002GC-Es for emacs-orgmode@gnu.org; Tue, 29 May 2012 03:18:15 -0400 Received: from [192.168.0.183] (unknown [217.146.125.41]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 82335325002 for ; Tue, 29 May 2012 08:17:52 +0100 (BST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 28/05/12 15:45, Orlando wrote: > Ian Barton wilkesley.net> writes: > >> >> On 26/05/12 20:00, Orlando L=C3=B3pez D. wrote: >>> I configured emacs org-mode on a Mac, working properly, having my org >>> files and MobileOrg file within my DropBox folder ( ~/DropBox/ ). >>> >>> Now, I will like to get my emacs setup working properly on my Windows >>> box. I have been able to get it working in terms of reading my .emacs >>> file and emacs.d folder, shared through simlink config. >>> >>> Everything seems to be working properly, except that when I want to >>> execute org-mobile-pull or org-mobile-push on Windows, I get the >>> following error: "Variable `org-mobile-directory` must point to an >>> existing directory " >>> >>> The problem seems to be that emacs isn't configured to read or point = to >>> the org-mobile directory , per the paths set in .emacs (eg. =3D >>> "~/DropBox/ ..........."). >>> >> >> Running on Linux I found I needed the following in my .emacs: >> >> (setq org-directory "~/dropbox/org/org_files") >> (setq org-mobile-directory "~/dropbox/MobileOrg") >> (setq org-mobile-inbox-for-pull >> "~/dropbox/org/org_files/tasks/org_inbox.org") >> >> Have you got all these set? Somewhere there is a possible bug where a >> misleading error message gets displayed referring to >> org-mobile-directory, when it means org-directory. I keep meaning to t= ry >> and track it down. >> >> Ian. >> >> > > > Ian, thanks for your e-mail. > > I have the following configuration, which doesn=C2=B4t seems to defer i= n concept with > yours: > > ;; Set to the location of your Org files on your local system > (setq org-directory "~/DropBox/org") > ;; Set to the name of the file where new notes will be stored > (setq org-mobile-inbox-for-pull "~/DropBox/org/flagged.org") > ;; Set to/MobileOrg. > (setq org-mobile-directory "~/Dropbox/MobileOrg") > > Which could be the reason why Windows isn=C2=B4t locating the path to t= he existing > directory? Do I need to have any specific configuration on .emacs for M= ac and > for Windows? > Orlando, I haven't used emacs on Windows for a long time. However, I don't know=20 if Windows understands the concept of "~/", unless there is some emacs=20 configuration that allows this. Have you tried setting the paths=20 explicitly e.g. (setq org-directory "C:/DropBox/org") Ian.