From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ning Bao Subject: Confused about mobileorg setup Date: Sun, 5 Sep 2010 01:05:13 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0122257896==" Return-path: Received: from [140.186.70.92] (port=47620 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsD8S-0007jO-1H for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 07:11:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsAEK-0005lP-RS for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 04:05:40 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:55929) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsAEK-0005lJ-Ly for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 04:05:36 -0400 Received: by iwn33 with SMTP id 33so4398924iwn.0 for ; Sun, 05 Sep 2010 01:05:35 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============0122257896== Content-Type: multipart/alternative; boundary=00032557563ad02d6f048f7ea0ac --00032557563ad02d6f048f7ea0ac Content-Type: text/plain; charset=ISO-8859-1 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 notice third.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]] --00032557563ad02d6f048f7ea0ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
What I want to achieve is that upload many (50+) org files to my iphon= e 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?=A0

Or, what I need to do i= s to create a index.org in my "org-di= rectory" folder which contains file: links to all my org files?

Best regards,


N= ing




<= br>

On org-mode documentation:

B.2 Pushing to Mobil= eOrg

This operation copies all files currently listed in=A0org-mobile-files=A0to the directory=A0org-mobile-directory. By default this list conta= ins all agenda files (as listed in=A0org-= agenda-files), but additional files can be included by customizing= =A0org-mobiles-files. File names w= ill be staged with path relative to=A0org= -directory, so all files should be inside this directory.=A0


= On MobileOrg Documentation:

What files are transferred?

Your=A0index.org=A0file 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:=A0index.org,=A0first.org,=A0<= code style=3D"font-family: Menlo, 'Courier New'; background-image: = initial; background-attachment: initial; background-origin: initial; backgr= ound-clip: initial; background-color: rgb(193, 205, 214); background-positi= on: initial initial; background-repeat: initial initial; ">second.org=A0and=A0third.org. You may noticethird.org=A0is linked to from t= wo 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 l=
ike]]
  This is a [[file:third.org][link]] in th=
e body text.

Contents of first.org:


* Some text
* [[file:third.org][Link to third.org]]

--00032557563ad02d6f048f7ea0ac-- --===============0122257896== 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 --===============0122257896==-- 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 > >