Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-20 Thread RĂ©mi Vanicat
Adam Spiers orgm...@adamspiers.org writes: On Sun, Aug 19, 2012 at 12:25 AM, Adam Spiers orgm...@adamspiers.org wrote: Agreed. If at least one person lets me know that my explanations above make sense, I might find some time to tweak the FAQ accordingly. I went ahead and tweaked it anyway:

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-18 Thread Adam Spiers
Hi all, I think some confusion has (quite understandably) arisen in this thread about how the org-mobile + webDAV + tramp + scp combination is supposed to work. At risk of getting it all wrong and looking like a fool, I *think* I can help explain :-) On Sun, Aug 12, 2012 at 2:11 PM, Nick Dokos

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-18 Thread Adam Spiers
On Sun, Aug 19, 2012 at 12:25 AM, Adam Spiers orgm...@adamspiers.org wrote: Agreed. If at least one person lets me know that my explanations above make sense, I might find some time to tweak the FAQ accordingly. I went ahead and tweaked it anyway: http://orgmode.org/worg/org-faq.html#sec-20

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-18 Thread Nick Dokos
Adam Spiers orgm...@adamspiers.org wrote: org-mobile-directory: /scpc:**user**@localhost:80/webdav/ This looks wrong Yes, it doesn't make sense to use tramp to scp files to localhost :-) Your other email shows that you figured this out. 2. This destination is modeled on

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-18 Thread James Harkins
At Sun, 19 Aug 2012 02:35:20 +0100, Adam Spiers wrote: On Sun, Aug 19, 2012 at 12:25 AM, Adam Spiers orgm...@adamspiers.org wrote: Agreed. If at least one person lets me know that my explanations above make sense, I might find some time to tweak the FAQ accordingly. I went ahead and

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread James Harkins
On Aug 12, 2012 12:29 PM, Nick Dokos nicholas.do...@hp.com wrote: But from what you show below, you are not using cadaver (or anything webdav-related for that matter) to do the copying. You are using scp: *that*'s what you've got to get working. When configuring a new service, it's useful to

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread Bastien
Hi James, James Harkins jamshar...@gmail.com writes: But the doc was rather misleading, suggesting that some editorial attention would be warranted. Can you send a patch to fix the docs? Thanks, -- Bastien

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread James Harkins
On Aug 12, 2012 4:42 PM, Bastien b...@gnu.org wrote: But the doc was rather misleading, suggesting that some editorial attention would be warranted. Can you send a patch to fix the docs? I wouldn't mind doing so, but I haven't the foggiest how it's supposed to work. hjh

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread James Harkins
At Sun, 12 Aug 2012 00:29:20 -0400, Nick Dokos wrote: This looks wrong - if you try it with scp from the command line, can you copy a file to that destination? OK, I played a little more with scp and got closer -- I can copy a file from the command line: scp /home/[myuser]/tmp/afile.txt

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread Nick Dokos
James Harkins jamshar...@gmail.com wrote: At Sun, 12 Aug 2012 00:29:20 -0400, Nick Dokos wrote: This looks wrong - if you try it with scp from the command line, can you copy a file to that destination? OK, I played a little more with scp and got closer -- I can copy a file from the

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread Nick Dokos
James Harkins jamshar...@gmail.com wrote: On Aug 12, 2012 12:29 PM, Nick Dokos nicholas.do...@hp.com wrote: But from what you show below, you are not using cadaver (or anything webdav-related for that matter) to do the copying. You are using scp: *that*'s what you've got to get working.

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-12 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote: Also check the permissions on /var/www/mobileorg/web: in particular, you might want to execute the following check (the check that org-mobile-create-sumo-agenda does) in your *scratch* buffer: (file-writable-p

[O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-11 Thread James Harkins
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/

Re: [O] MobileOrg, webdav, correct use of org-mobile-directory?

2012-08-11 Thread Nick Dokos
James Harkins jamshar...@gmail.com wrote: 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. But from what you show below, you are not using cadaver (or anything webdav-related for