emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Moreland <rlm@ncogni.to>
To: Ning Bao <ningbao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Confused about mobileorg setup
Date: Sun, 5 Sep 2010 09:09:44 -0400	[thread overview]
Message-ID: <AANLkTi=Tpn8bB+1fS9wh=hUk2ZZtOTuSEUDGqiOYt3Lm@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimNT5ra0968Gfe3oVbz0KNDre5EZmGhPK3ib3th@mail.gmail.com>

Hi Ning,

You are right that the documentation is a bit confusing there.  The
Org-mode docs describe the right way for you to proceed: define the
files you'd like to have transferred in org-agenda-files or
org-mobile-files.  This tells org-mobile-push which files to copy from
your local Org directory to Dropbox.

You should also be able to do:

(setq org-mobile-files (quote ("~/org")))

to have all .org files in a directory added to the list.

The MobileOrg docs are explaining that MobileOrg will only download
files referenced by another file.  In most cases this is useless
information, because if you list them all in org-mobile-files, they
will all be linked to from index.org and therefore all synced from
Dropbox to your phone.  I am working on some updated that I hope will
make it more clear.

Hope this helps,
Richard

On Sun, Sep 5, 2010 at 4:05 AM, Ning Bao <ningbao@gmail.com> wrote:
> What I want to achieve is that upload many (50+) org files to my iphone via
> dropbox. These org files are interlinked by file: links.
> I am confused about how to set up MobileOrg.
> Do I have to define the variable org-mobile-files in my .emacs, in order to
> sync all my org files?
> Or, what I need to do is to create a index.org in my "org-directory" folder
> which contains file: links to all my org files?
> Best regards,
>
> Ning
>
>
>
>
>
> On org-mode documentation:
>
> B.2 Pushing to MobileOrg
>
> This operation copies all files currently listed in org-mobile-files to the
> directory org-mobile-directory. By default this list contains all agenda
> files (as listed in org-agenda-files), but additional files can be included
> by customizing org-mobiles-files. File names will be staged with path
> relative to org-directory, so all files should be inside this directory.
>
> On MobileOrg Documentation:
>
> What files are transferred?
>
> Your index.org file is fetched, then any files it links to are fetched, and
> so on. For example, in the following case, 4 .org files will be
> transferred: index.org, first.org, second.org and third.org. You may
> noticethird.org is linked to from two different places, but it is only
> downloaded once.
>
> Contents of index.org:
>
> * [[file:first.org][An Org file I like]]
> * [[file:second.org][Another Org file I like]]
>   This is a [[file:third.org][link]] in the body text.
>
> Contents of first.org:
>
> * Some text
> * [[file:third.org][Link to third.org]]
>
> _______________________________________________
> 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-09-05 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-05  8:05 Confused about mobileorg setup Ning Bao
2010-09-05 13:09 ` Richard Moreland [this message]

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='AANLkTi=Tpn8bB+1fS9wh=hUk2ZZtOTuSEUDGqiOYt3Lm@mail.gmail.com' \
    --to=rlm@ncogni.to \
    --cc=emacs-orgmode@gnu.org \
    --cc=ningbao@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).