emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: emacs-orgmode@gnu.org
Subject: Re: org-mobile setup: org-mobile-push not copying my org files?
Date: Mon, 04 Jul 2011 21:01:16 +0200	[thread overview]
Message-ID: <8739ilzx8j.fsf@member.fsf.org> (raw)
In-Reply-To: CA+2DmwiRPq_obZ1HrRZcS1o1fZFJwione_hoS5gFLj4fGivd0A@mail.gmail.com

Vinh Nguyen <vinhdizzo@gmail.com> writes:

Hi Vinh,

> I'm having trouble setting up org-mobile in emacs for use with
> MobileOrg on Android.  I have the following in my init file:
>
> ;; org-mode OrgMobile
> (setq org-directory "~/Documents/Org") ;; my folder is empty

Why is that folder empty?

> (setq org-mobile-directory "~/Dropbox/MobileOrg")
> (setq org-mobile-inbox-for-pull "~/Documents/Org/notes.org")
>
> In ~/Documents/Org, I have a file notes.org that contain my notes.

I think it's preferrable to use an org file you don't use otherwise as
inbox.  When pulling from MobileOrg, all notes you caputed on your phone
will go there so that you can refile them.

> When I call org-mobile-push, only 4 files get created in
> ~/Dropbox/MobileOrg: agendas.org, checksum.dat, index.org, and
> mobileorg.org.

The latter is where MobileOrg puts its changes in.

> Based on my understanding, ~/Documents/Org/notes.org should be copied
> to ~/Dropbox/MobileOrg/, and a link to notes.org should be created in
> index.org.  However, this does not happen.  Am I not configuring
> things correctly or am I misunderstanding how to use org-mobile?
>
> I also tried setting:
> (setq org-mobile-files (quote "notes.org"))
>
> but this does not work either.

The default value is (org-agenda-files), so it should push all your org
files to `org-mobile-directory'.  What does C-x C-e after the closing
paren above return?

My settings are

  (setq org-mobile-directory "~/Desktop/Dropbox/MobileOrg")
  (setq org-mobile-inbox-for-pull "~/repos/org/from-org-mobile.org")

which work pretty well.

Bye,
Tassilo

  reply	other threads:[~2011-07-04 19:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 17:40 org-mobile setup: org-mobile-push not copying my org files? Vinh Nguyen
2011-07-04 19:01 ` Tassilo Horn [this message]
2011-07-06  4:23 ` Vinh Nguyen

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=8739ilzx8j.fsf@member.fsf.org \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    /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).