From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: MobileOrg Date: Sat, 21 Nov 2015 17:25:48 -0600 Message-ID: References: <6sw6c7610whi5u.fsf@pfdstudio.com> <564F8989.1010606@gmail.com> <1448120544.3716674.446155745.23995073@webmail.messagingengine.com> <20151121110750.ed4a215845e6bfdd25de82b9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0HXT-0006Gz-46 for emacs-orgmode@gnu.org; Sat, 21 Nov 2015 18:25:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0HXR-0002ea-MN for emacs-orgmode@gnu.org; Sat, 21 Nov 2015 18:25:51 -0500 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:35491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0HXR-0002eW-GM for emacs-orgmode@gnu.org; Sat, 21 Nov 2015 18:25:49 -0500 Received: by oige206 with SMTP id e206so85418560oig.2 for ; Sat, 21 Nov 2015 15:25:49 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Peter Davis Cc: Ed Hirgelt , emacs-orgmode On Sat, Nov 21, 2015 at 4:52 PM, Peter Davis wrote: > Ed Hirgelt writes: > >> On Sat, 21 Nov 2015 10:42:24 -0500 >> Peter Davis wrote: >> >>> >>> On Fri, Nov 20, 2015, at 03:58 PM, dean wrote: >>> > On 11/21/15 00:14, Peter Davis wrote: >>> > Hi pd, >>> > >>> > > I'm just starting out with MobileOrg, using Dropbox, but I'm >>> > > confused by the setup instructions. I've gotten the app linked to >>> > > my Dropbox account, but the next step in the setup instructions >>> > > >>> > > involve setting up some emacs stuff on my "local system." My >>> > > question is: *Which* local system? I have several sync'ed to >>> > > Dropbox. Is the mobile app going to require a single point of >>> > > contact? >>> > > >>> > >>> > Im fairly new to emacs and mobileorg, so im no expert here but... >>> > I believe Mobile org will be using your dropbox folder as its single >>> > point of contact. >>> > For example your workflow would be: >>> > - Create/edit notes/todo's on your phone >>> > - sync the app (which should save to dropbox) >>> > - Open emacs on your pc, issue org-mobile-pull >>> > - This should add your edits to your org files on your pc >>> > >>> > For the other direction: >>> > - Edit org files on your pc, issue org-mobile-push >>> > - sync on the app should import your edits into the app >>> > >>> > Im assuming you have a dropbox daemon taking care of the syncing in >>> > this process. >>> > >>> > This should be the same no matter how many pc's/emacs you use. >>> > Does this help answer your question? >>> > >>> >>> Thanks, Dean. Actually, I can't even sync mobileorg. When I try >>> (Pressing the sync button in the upper right corner), I get: >>> >>> >>> *Error downloading checksums* >>> >>> An error was encountered while downloading checksums.dat from the >>> server. The file isn't required, but the error received was unusual. >>> The error was: >>> >>> Unexpected error >>> >>> >>> I don't know what that's about, but I can't get past It. >>> > > Thank you, Ed, but this raises a number of questions for me: > >> >> I ran into this same problem. The source of the problem appears to be >> that MobileOrg really, really wants to create the directory >> ~/Dropbox/Apps/MobileOrg. My workaround was to: >> >> 1. Delete any and all MobileOrg directories in Dropbox so you don't get >> confused as to which one is really the right one. > > The only MobileOrg directory is the one created by the app, ~/Dropbox/apps/MobileOrg > >> 2. Bring up MobileOrg on your iPhone or iPad. Let it create the >> directory. > > Ok, done, I guess. > >> 3. Configure org on your desktop/laptop to export to >> ~/Dropbox/Apps/MobileOrg. > > How? This doesn't seem to be any of the variables specified in the > instructions at http://mobileorg.ncogni.to/doc/getting-started/using-dropbox/ It's on the front page: #+begin_quote ;; Set to the location of your Org files on your local system (setq org-directory "~/org") ;; Set to the name of the file where new notes will be stored (setq org-mobile-inbox-for-pull "~/org/flagged.org") ;; Set to /MobileOrg. (setq org-mobile-directory "~/Dropbox/Apps/MobileOrg") #+end_quote While you'd have to read the org mode manual to have it completely spelled out, from inference it's =org-mobile-directory= that gets pointed to ~/Dropbox/Apps/MobileOrg. Have you read this? - http://orgmode.org/manual/MobileOrg.html >From the section on pushing: #+begin_quote 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-mobile-files. File names will be staged with paths relative to org-directory, so all files should be inside this directory1. #+end_quote > >> 4. Now export from your desktop via org. > > Export what? Each file I want to sync? If I just save a copy of an org > file to ~/Dropbox/Apps/MobileOrg, will that have the same effect? > See above re. =org-mobile-files= >> 5. You should now be able to sync on your mobile device. >> >> Note that is you want to sync to multiple mobile devices you need to >> repeat steps 1 and 2 for each device before you do anything from org on >> your desktop. Each of the MobileOrg instances will create the target >> directory when it initializes. > > I'm confused. All my .org files are already in Dropbox, sync'ed across a > number of different machines, so the directory structures and contents > should be identical (once Dropbox syncs them.) Agreed, but Emacs on each machine doesn't know anything about that directory and that you want to use mobile-org with it. Thus, you need the config file settings from the front page of the MobileOrg site on each local machine. They will all push whatever files you've specified in =org-mobile-files= (or anything in your agenda file list if not specified) to =org-mobile-directory= (which is ~/Dropbox/Apps/MobileOrg). > > Thank you, > -pd > >