From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: MobileOrg, webdav, correct use of org-mobile-directory? Date: Sun, 12 Aug 2012 10:55:00 +0800 Message-ID: <87d32w6cqj.wl%jamshark70@dewdrop-world.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0OKk-00071D-4g for emacs-orgmode@gnu.org; Sat, 11 Aug 2012 22:55:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0OKg-0002Na-V8 for emacs-orgmode@gnu.org; Sat, 11 Aug 2012 22:55:17 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:57993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0OKg-0002NW-O8 for emacs-orgmode@gnu.org; Sat, 11 Aug 2012 22:55:14 -0400 Received: by pbbro12 with SMTP id ro12so5703278pbb.0 for ; Sat, 11 Aug 2012 19:55:13 -0700 (PDT) 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 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:**user**@localhost:80/webdav/ Then org-mobile-push gets further: Loading tramp...done Tramp: Opening connection for [user]@localhost using scpc... Tramp: Sending command `exec ssh -l [user] -o ControlPath=/tmp/tramp.26688vS.%r@%h:%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/tramp.26688vS.%r@%h:%p -o ControlMaster=yes -e none localhost' Tramp: Found remote shell prompt on `localhost' Tramp: Opening connection for [user]@localhost 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:user@remote.host: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 jamshark70@dewdrop-world.net 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