emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel Martins <danielemc@gmail.com>
To: Sven Bretfeld <sven.bretfeld@gmx.ch>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: MobileOrg for Android starts to become really usable
Date: Wed, 2 Jun 2010 14:22:08 -0300	[thread overview]
Message-ID: <AANLkTinQbKSU1tP1aQscy-TPK-jIUYnFUuicoqRIPHNe@mail.gmail.com> (raw)
In-Reply-To: <87zkzgv9ee.fsf@gmx.ch>


[-- Attachment #1.1: Type: text/plain, Size: 2844 bytes --]

I am having a problem with syncing.

I created a webdav on my lab server.

I access it from the Android navigator and I made a test with MobileOrg for
Iphone with a friend of mine.

Both cases worked perfect

However when I use sync nothing happens. The screen remains completely
black.


I can use capture (I used both version 0.4 and developments with quite the
same results) but I cannot sync again

My webadav is something

http://IPADDRESS/webdav/index.org

where IPADDRESS is the IP address of the server 150.***.***.***

Daniel

2010/5/31 Sven Bretfeld <sven.bretfeld@gmx.ch>

> Hi Enrico
>
> Enrico Indiogine <hindiogine@gmail.com> writes:
>
> > Thanks to the help from you all I managed to install the latest
> > development version of org-mobile-android on my Xperia X10.  I set up
> > my .emacs for stage push-pull and have a mydisk.se account with an org
> > directory.
> >
> > M-x push will fail with an ssh timeout.  I think it has to do with the
> > fact that Emacs has no way of knowing the mydisk.se password.
>
> Try another approach. You are under Ubuntu, aren't you? I'm also under
> Ubuntu and I use mydisk.se. So this should also work for you:
>
> 1. sudo apt-get install davfs2
>
> 2. sudo adduser enrico davfs (I don't remember if this is really the
>   groupname, maybe it's davfs2)
>
> 3. edit the file /etc/fstab -> add a line at the end:
>
>   https://mydisk.se/yourusername   /home/enrico/webdav   davfs
> user,noauto           0  0
>
> 4. edit the file /etc/davfs2/secrets, add the following line:
>
>   /home/enrico/webdav    yourmydiskusername   yourmydiskpasswd
>
> 5. mkdir ~/webdav
>
> 6. sudo dpkg-reconfigure davfs2 --> set the SUID Bit (i.e. just say "yes")
>
> 7. mount ~/webdav
>
> Now, your folders of mydisk.se should appear under ~/webdav. Then tell
> Emacs (org-mobile) to use this folder instead of scp. I just used
> customize to set the org-mobile-directory.
>
> > This in in my .emacs:
> >
> > (setq org-mobile-files (quote ("~/org/agenda.org")))
> > (setq org-mobile-directory "~/stage/")
>
> Change this to "~/webdav" or use "stage" in the procedure above.
>
> > (add-hook 'org-mobile-post-push-hook
> >   (lambda () (shell-command "scp -r ~/stage/* hindiogine@mydisk.se:
> org/")))
> > (add-hook ' org-mobile-pre-pull-hook
> >   (lambda () (shell-command "scp hindiogine@mydisk.se:org/mobile.org
> > ~/stage ")))
> > (add-hook 'org-mobile-post-pull-hook
> >   (lambda () (shell-command "scp ~/stage/mobileorg.org
> > hindiogine@mydisk.se:org]/")))
>
> I think with the webdav-approach you have to delete these hooks. Comment
> them out and restart Emacs.
>
> Good luck
>
> Sven
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 4313 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-06-02 17:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28  9:05 MobileOrg for Android starts to become really usable Sven Bretfeld
2010-05-28 18:05 ` Enrico Indiogine
2010-05-28 18:29   ` julien cubizolles
2010-05-28 18:43   ` Matthew Jones
2010-05-28 18:27 ` julien cubizolles
2010-05-30 16:21   ` Robert Goldman
2010-05-30 23:33     ` Matthew Jones
2010-07-11  5:56       ` Dave Kritzberg
     [not found]         ` <AANLkTimqX9-C14gYXeTMtD4TqZ8W9aVXf8Sibexam4a2@mail.gmail.com>
2010-07-14 22:15           ` Dave Kritzberg
2010-05-28 18:40 ` Matthew Jones
2010-06-07  7:02   ` Detlef Steuer
     [not found]     ` <AANLkTikYVkk-tExzTXoaFdmbKf8LrLZuqgtZo6chgvDC@mail.gmail.com>
2010-06-07 14:43       ` Matthew Jones
2010-06-07 15:30         ` Henri-Paul Indiogine
2010-05-31  5:46 ` Enrico Indiogine
2010-05-31  7:05   ` Sven Bretfeld
2010-06-02 17:22     ` Daniel Martins [this message]
2010-06-02 19:35       ` Daniel Martins

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=AANLkTinQbKSU1tP1aQscy-TPK-jIUYnFUuicoqRIPHNe@mail.gmail.com \
    --to=danielemc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sven.bretfeld@gmx.ch \
    /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).