From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Martins Subject: Re: MobileOrg for Android starts to become really usable Date: Wed, 2 Jun 2010 16:35:31 -0300 Message-ID: References: <87sk5cwg4f.fsf@gmx.ch> <87zkzgv9ee.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1279379143==" Return-path: Received: from [140.186.70.92] (port=39222 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJtj1-0001zA-49 for emacs-orgmode@gnu.org; Wed, 02 Jun 2010 15:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJtiv-0002yu-MW for emacs-orgmode@gnu.org; Wed, 02 Jun 2010 15:35:38 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:55818) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJtiv-0002yn-Ex for emacs-orgmode@gnu.org; Wed, 02 Jun 2010 15:35:33 -0400 Received: by gyg4 with SMTP id 4so6042868gyg.0 for ; Wed, 02 Jun 2010 12:35:33 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sven Bretfeld Cc: emacs-org --===============1279379143== Content-Type: multipart/alternative; boundary=0016e68deb3768ff2c0488113187 --0016e68deb3768ff2c0488113187 Content-Type: text/plain; charset=ISO-8859-1 PROBLEM solved!!! I have put the link in index.org directly but without an "*" [[file.org]] and not * [[file.org]] I sincerely feel that this "* " could be optional Daniel 2010/6/2 Daniel Martins > 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 > > Hi Enrico >> >> Enrico Indiogine 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 >> > > --0016e68deb3768ff2c0488113187 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable PROBLEM solved!!!

I have put the link in index.org directly but without an "*"

[[file.org]]

and not

* [[file.org]]


I sincerely feel that this "* " could be optional
Daniel

2010/6/2 Daniel Martins <danielemc@gmail.com= >
I am having a pro= blem with syncing.

I created a webdav on my lab server.

I acc= ess it from the Android navigator and I made a test with MobileOrg for Ipho= ne 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 developmen= ts with quite the same results) but I cannot sync again

My webadav i= s 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. =A0I set u= p
> 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. =A0I think it has to do with t= he
> fact that Emacs has no way of knowing the mydisk.se password.

Try another approach. You are under Ubuntu, aren't you? I'm a= lso 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 =A0 groupname, maybe it's davfs2)

3. edit the file /etc/fstab -> add a line at the end:

=A0
https://m= ydisk.se/yourusername =A0 /home/enrico/webdav =A0 davfs =A0 user,noauto= =A0 =A0 =A0 =A0 =A0 0 =A00

4. edit the file /etc/davfs2/secrets, add the following line:

=A0 /home/enrico/webdav =A0 =A0yourmydiskusername =A0 yourmydiskpasswd

5. mkdir ~/webdav

6. sudo dpkg-reconfigure davfs2 --> set the SUID Bit (i.e. just say &quo= t;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 p= rocedure above.

> (add-hook 'org-mobile-post-push-hook
> =A0 (lambda () (shell-command "scp -r ~/stage/* hindiogine@mydisk= .se:org/")))
> (add-hook ' org-mobile-pre-pull-hook
> =A0 (lambda () (shell-command "scp hindiogine@mydisk.se:org/mobile.org
> ~/stage ")))
> (add-hook 'org-mobile-post-pull-hook
> =A0 (lambda () (shell-command "scp ~/stage/mobileorg.org
> hindiogine@mydisk.se:org]/")))

I think with the webdav-approach you have to delete these hooks. Comm= ent
them out and restart Emacs.

Good luck

Sven

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


--0016e68deb3768ff2c0488113187-- --===============1279379143== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1279379143==--