emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Peter Davis <pfd@pfdstudio.com>
Cc: Ed Hirgelt <ehirgelt@gmail.com>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: MobileOrg
Date: Sat, 21 Nov 2015 17:25:48 -0600	[thread overview]
Message-ID: <CA+M2ft8Kc1xpcKQBaWcbOAvLfwG6eo9PfLsyWtLLvPd+GMqDeA@mail.gmail.com> (raw)
In-Reply-To: <m237vzklrw.fsf@PFDStudio-Air.home>

On Sat, Nov 21, 2015 at 4:52 PM, Peter Davis <pfd@pfdstudio.com> wrote:
> Ed Hirgelt <ehirgelt@gmail.com> writes:
>
>> On Sat, 21 Nov 2015 10:42:24 -0500
>> Peter Davis <pfd@pfdstudio.com> 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
>>> > > <http://mobileorg.ncogni.to/doc/getting-started/using-dropbox/>
>>> > > 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 <your Dropbox root directory>/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
>
>

  reply	other threads:[~2015-11-21 23:25 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-20 14:14 MobileOrg Peter Davis
2015-11-20 20:58 ` MobileOrg dean
2015-11-21 15:42   ` MobileOrg Peter Davis
2015-11-21 18:44     ` MobileOrg John Hendy
2015-11-21 23:24       ` MobileOrg Peter Davis
2015-11-21 23:39         ` MobileOrg John Hendy
2015-11-21 19:07     ` MobileOrg Ed Hirgelt
2015-11-21 21:17       ` MobileOrg John Hendy
2015-11-21 22:05         ` MobileOrg dean
2015-11-21 22:52       ` MobileOrg Peter Davis
2015-11-21 23:25         ` John Hendy [this message]
2015-11-21 23:30         ` MobileOrg dean
2015-11-21 23:52           ` MobileOrg Peter Davis
2015-11-22  6:34             ` MobileOrg dean
2015-11-22 13:43               ` MobileOrg Peter Davis
  -- strict thread matches above, loose matches on Subject: below --
2014-08-06 14:07 MobileOrg Noah Slater
2014-08-06 16:11 ` MobileOrg Subhan Michael Tindall
2014-08-06 16:33   ` MobileOrg Alexis
2014-08-06 18:33     ` MobileOrg Xebar Saram
2014-08-14  1:50       ` MobileOrg Sean Escriva
2014-02-28  4:34 MobileOrg David Masterson
2014-03-01  7:07 ` MobileOrg Bastien
2014-03-02  3:14 ` MobileOrg John Hendy
2014-03-02  3:20   ` MobileOrg John Hendy
2014-03-03 19:20 ` MobileOrg Sean Escriva
2014-03-03 19:29   ` MobileOrg Ken Mankoff
2014-03-15  0:12   ` MobileOrg Aric Gregson
2014-03-15  0:50     ` MobileOrg Sean Escriva
2014-03-15  0:59       ` MobileOrg Aric Gregson
2014-06-25 18:56       ` MobileOrg Aric Gregson
2014-06-25 19:17         ` MobileOrg Nick Dokos
2014-07-04  0:47           ` MobileOrg Aric Gregson
2014-07-04 13:14             ` MobileOrg Nick Dokos
2014-07-04 13:17             ` MobileOrg Nick Dokos
2013-03-13 13:09 mobileorg Marvin Doyley
2013-03-13 13:53 ` mobileorg Rainer M Krug
2013-03-14 11:13   ` mobileorg Rasmus

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=CA+M2ft8Kc1xpcKQBaWcbOAvLfwG6eo9PfLsyWtLLvPd+GMqDeA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=ehirgelt@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pfd@pfdstudio.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).