From: "Sven Bretfeld" <sven.bretfeld@gmx.ch>
To: Enrico Indiogine <hindiogine@gmail.com>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: MobileOrg for Android starts to become really usable
Date: 31 May 2010 09:05:13 +0200 [thread overview]
Message-ID: <87zkzgv9ee.fsf@gmx.ch> (raw)
In-Reply-To: <AANLkTikB7p9qSJriYdCkZJdCa_2NOv4vyhQ25qwHv6a-@mail.gmail.com> (Enrico Indiogine's message of "Sun, 30 May 2010 22:46:30 -0700")
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
next prev parent reply other threads:[~2010-05-31 7:13 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 [this message]
2010-06-02 17:22 ` Daniel Martins
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=87zkzgv9ee.fsf@gmx.ch \
--to=sven.bretfeld@gmx.ch \
--cc=emacs-orgmode@gnu.org \
--cc=hindiogine@gmail.com \
/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).