[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] MobileOrg, webdav, correct use of org-mobile-directory?
From: |
James Harkins |
Subject: |
[O] MobileOrg, webdav, correct use of org-mobile-directory? |
Date: |
Sun, 12 Aug 2012 10:55:00 +0800 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Okay, I've just about gotten that WebDAV service set up for mobileorg sync. I
can both GET and PUT files using cadaver. But org-mode isn't talking to it
properly.
According to [1] ("[user]" is a substitute for the real http user name):
org-mobile-directory: /scpc:address@hidden:80/webdav/
Then org-mobile-push gets further:
Loading tramp...done
Tramp: Opening connection for address@hidden using scpc...
Tramp: Sending command `exec ssh -l [user] -o
ControlPath=/tmp/address@hidden:%p -o ControlMaster=yes -e none localhost'
Tramp: Waiting for prompts from remote shell
Tramp: Sending password
Tramp: Sending command `exec ssh -l [user] -o
ControlPath=/tmp/address@hidden:%p -o ControlMaster=yes -e none localhost'
Tramp: Found remote shell prompt on `localhost'
Tramp: Opening connection for address@hidden using scpc...done
... but chokes on something surprising:
org-mobile-check-setup: Variable `org-mobile-directory' must point to an
existing directory
Huh? [1] clearly says:
(setq org-mobile-directory "/scpc:address@hidden:org/webdav/")
... but:
(unless (and org-mobile-directory
(stringp org-mobile-directory)
(string-match "\\S-" org-mobile-directory)
(file-exists-p org-mobile-directory)
(file-directory-p org-mobile-directory))
(error
"Variable `org-mobile-directory' must point to an existing directory"))
I suppose I can hack it by putting the physical location of the webdav share
into org-mobile-directory. But, the documentation seems incompatible with the
current behavior.
hjh
[1] http://orgmode.org/worg/org-faq.html#mobileorg_webdav
--
James Harkins /// dewdrop world
address@hidden
http://www.dewdrop-world.net
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman
blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks
- [O] MobileOrg, webdav, correct use of org-mobile-directory?,
James Harkins <=
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Nick Dokos, 2012/08/12
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, James Harkins, 2012/08/12
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Nick Dokos, 2012/08/12
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Adam Spiers, 2012/08/18
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Adam Spiers, 2012/08/18
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, James Harkins, 2012/08/19
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Rémi Vanicat, 2012/08/20
- Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?, Nick Dokos, 2012/08/18