From: Ian Barton <lists@wilkesley.net>
To: emacs-orgmode@gnu.org
Subject: Re: Variable `org-mobile-directory` must point to an existing directory. Multiplatform setup, howto
Date: Tue, 29 May 2012 08:17:51 +0100 [thread overview]
Message-ID: <4FC4781F.7080407@wilkesley.net> (raw)
In-Reply-To: <loom.20120528T163832-117@post.gmane.org>
On 28/05/12 15:45, Orlando wrote:
> Ian Barton<lists<at> wilkesley.net> writes:
>
>>
>> On 26/05/12 20:00, Orlando López 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. =
>>> "~/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 try
>> and track it down.
>>
>> Ian.
>>
>>
>
>
> Ian, thanks for your e-mail.
>
> I have the following configuration, which doesn´t seems to defer in 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<your Dropbox root directory>/MobileOrg.
> (setq org-mobile-directory "~/Dropbox/MobileOrg")
>
> Which could be the reason why Windows isn´t locating the path to the existing
> directory? Do I need to have any specific configuration on .emacs for Mac and
> for Windows?
>
Orlando,
I haven't used emacs on Windows for a long time. However, I don't know
if Windows understands the concept of "~/", unless there is some emacs
configuration that allows this. Have you tried setting the paths
explicitly e.g. (setq org-directory "C:/DropBox/org")
Ian.
next prev parent reply other threads:[~2012-05-29 7:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-26 19:00 Variable `org-mobile-directory` must point to an existing directory. Multiplatform setup, howto Orlando López D.
2012-05-27 9:59 ` Ian Barton
2012-05-28 14:45 ` Orlando
2012-05-29 7:17 ` Ian Barton [this message]
2012-05-29 12:43 ` Jonathan Leech-Pepin
2012-05-29 16:14 ` Orlando López D.
2012-05-29 17:38 ` Jonathan Leech-Pepin
2012-05-29 17:40 ` Orlando López D.
2012-05-29 19:54 ` Achim Gratz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FC4781F.7080407@wilkesley.net \
--to=lists@wilkesley.net \
--cc=emacs-orgmode@gnu.org \
--cc=ian@manor-farm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).