From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Moreland Subject: Re: Confused about mobileorg setup Date: Sun, 5 Sep 2010 09:09:44 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56352 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsEyi-0000Ne-78 for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 09:09:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsEyg-0001Lz-6V for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 09:09:47 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:64618) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsEyg-0001Lm-1k for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 09:09:46 -0400 Received: by wyb36 with SMTP id 36so4412851wyb.0 for ; Sun, 05 Sep 2010 06:09:44 -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: Ning Bao Cc: emacs-orgmode@gnu.org 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 wrote: > What I want to achieve is that upload many (50+) org files to my iphone v= ia > 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" fold= er > 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=A0org-mobile-files=A0= to the > directory=A0org-mobile-directory. By default this list contains all agend= a > files (as listed in=A0org-agenda-files), but additional files can be incl= uded > by customizing=A0org-mobiles-files. File names will be staged with path > relative to=A0org-directory, so all files should be inside this directory= . > > On MobileOrg Documentation: > > What files are transferred? > > Your=A0index.org=A0file is fetched, then any files it links to are fetche= d, and > so on. For example, in the following case, 4 .org files will be > transferred:=A0index.org,=A0first.org,=A0second.org=A0and=A0third.org. Yo= u may > noticethird.org=A0is 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 > >