Discussion:
Example correctly configured directory and .emacs declarations please?
James Hughes via mobileorg-android
2013-09-04 17:54:15 UTC
Permalink
This problem has been frustrating me as well for the longest of times and
reading this thread in full helped me see what I was doing wrong. I also
had to completely uninstall mobileorg from my galaxy s4 and then reinstall
it. Thank you both for this thread.
I've tried setting up mobile-org (version 0.9.0, the app tells me) and
synchronization with emacs like 5 times so far, and have not gotten it to
work in both directions. Yes, I've read the documentation at [1] , and the
FAQ at [2], and the "Documentation" page [3] with all the screenshots. But
there are still multiple points about which I am confused/frustrated.
Because these seem to be really basic issues, to the point that no one's
thought to explicitly write them out, I'm guessing it'll skip a bunch of
steps if someone could please share (like via gist or something) a small
working sync'ed directory, and the relevant matching lines of .emacs -- I
would be enormously appreciative if someone could just show me a
functioning example.
I'll list the specific things out below, just in case someone can and
(1) org-directory versus org-mobile-directory : The "Setting up the
staging area" [4] page says to define org-mobile-directory in my .emacs
file. However, when I try to do M-x org-mobile-push, I get a message
telling me "Please set `org-directory' to the directory where your org
files live" -- do I need *both*? Should they be the same? Should they *not*
be the same?
(2) What's the deal with org-mobile-inbox-for-pull ? I gather that this is
where new "captures" from the app will get dumped -- but are they the
supposed to say there? E.g. Would it be a bad idea to set this variable to
agendas.org (the file that a new index.org seems to always point to)?
(3) Is the end-user supposed to edit index.org? Every time I do, it seems
like the next sync-cycle seems to reset it to only have agendas.org; when
I first create it, it also only has agendas.org. And it seems weird that
this setup/normalization process doesn't care to create agendas.org.
(4) Is the app supposed to be able to setup its own dir in a sane state?
E.g. I point it at a totally empty directory in my Dropbox, and I don't
attempt to touch it from emacs, am I supposed to be able to use it to
make/view/edit an outline/notes/agenda? Because I can't. If I delete all
user data from the app, go through the setup wizard and point everything at
a brand new, empty directory, of which emacs is wholly unaware, and them
attempt to create single item, and hit the sync button, I can see through
dropbox that a mobileorg.org file is created, and that it contains the
correct data -- but this isn't reflected in the app. The main app page
merely shows one entry, which reads '"File' (yes, that unmatched opening
double quote is shown in the app).
(4) Is "M-x org-mobile-push" supposed to be able to set up its dir in a
sane state? E.g. should I be able to make a new dir, point org-directory
and org-mobile-directory at it, create an index file with the format shown
here [5], and then point my app to it, sync and be good to go? Because I
can't. If I (a) wipe data from my app (2) create a new dir in dropbox (3)
point org-mobile-directory and org-directory at that new dir (4) point
org-mobile-index-for-pull at agendas.org (5) Put a couple lines into
agendas.org (6) run M-x org-mobile-push ... then syncing my app appears
to do nothing; none of the data I put in agendas.org shows up. I can
then, from my phone add a new bullet point ... and I can see that the new
bullet is then added to agendas.org. But at no point can I actually see
the outline on my phone. If I try to go to the "Outline", it just shows me
the list of options (synchronize, settings, capture, website).
(5) Is the outline that's meant to be displayed in the app (I've never
seen it, so I don't know) meant to be driven by the links in index.orgfile? Like, respecting order, and stuff?
(6) Am I supposed to setup emacs first? Or set up the app first? The
documentation page [3] says to read [1] first, but I assume that means
"read and follow instructions found there" setting up emacs before
proceeding onto the app instructions in the body of [3]?
For the record, my phone is a Nexus S, running Ice cream sandwich (4.0.4),
and my emacs "About" box says "Version 23.3 (9.0)"
[1] http://orgmode.org/manual/MobileOrg.html#MobileOrg
[2] https://github.com/matburt/mobileorg-android/wiki/FAQ
[3] https://github.com/matburt/mobileorg-android/wiki/Documentation
[4]
http://orgmode.org/manual/Setting-up-the-staging-area.html#Setting-up-the-staging-area
[5] http://mobileorg.ncogni.to/doc/getting-started/syncing-with-mobileorg/
--
You received this message because you are subscribed to the Google Groups "mobileorg-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobileorg-android+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to mobileorg-android-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/mobileorg-android.
For more options, visit https://groups.google.com/groups/opt_out.
mobileorg-android on behalf of Matthew Jones
2013-09-04 18:09:20 UTC
Permalink
Maybe we should sticky it. Conceptually the org-mode to MobileOrg
interaction really confuses people. It's also usually always crucial to
have the latest org-mode.


On Wed, Sep 4, 2013 at 1:54 PM, James Hughes via mobileorg-android <
Post by James Hughes via mobileorg-android
This problem has been frustrating me as well for the longest of times and
reading this thread in full helped me see what I was doing wrong. I also
had to completely uninstall mobileorg from my galaxy s4 and then reinstall
it. Thank you both for this thread.
I've tried setting up mobile-org (version 0.9.0, the app tells me) and
synchronization with emacs like 5 times so far, and have not gotten it to
work in both directions. Yes, I've read the documentation at [1] , and the
FAQ at [2], and the "Documentation" page [3] with all the screenshots. But
there are still multiple points about which I am confused/frustrated.
Because these seem to be really basic issues, to the point that no one's
thought to explicitly write them out, I'm guessing it'll skip a bunch of
steps if someone could please share (like via gist or something) a small
working sync'ed directory, and the relevant matching lines of .emacs -- I
would be enormously appreciative if someone could just show me a
functioning example.
I'll list the specific things out below, just in case someone can and
(1) org-directory versus org-mobile-directory : The "Setting up the
staging area" [4] page says to define org-mobile-directory in my .emacs
file. However, when I try to do M-x org-mobile-push, I get a message
telling me "Please set `org-directory' to the directory where your org
files live" -- do I need *both*? Should they be the same? Should they *not*
be the same?
(2) What's the deal with org-mobile-inbox-for-pull ? I gather that this
is where new "captures" from the app will get dumped -- but are they the
supposed to say there? E.g. Would it be a bad idea to set this variable to
agendas.org (the file that a new index.org seems to always point to)?
(3) Is the end-user supposed to edit index.org? Every time I do, it
seems like the next sync-cycle seems to reset it to only have agendas.org;
when I first create it, it also only has agendas.org. And it seems weird
that this setup/normalization process doesn't care to create agendas.org.
(4) Is the app supposed to be able to setup its own dir in a sane state?
E.g. I point it at a totally empty directory in my Dropbox, and I don't
attempt to touch it from emacs, am I supposed to be able to use it to
make/view/edit an outline/notes/agenda? Because I can't. If I delete all
user data from the app, go through the setup wizard and point everything at
a brand new, empty directory, of which emacs is wholly unaware, and them
attempt to create single item, and hit the sync button, I can see through
dropbox that a mobileorg.org file is created, and that it contains the
correct data -- but this isn't reflected in the app. The main app page
merely shows one entry, which reads '"File' (yes, that unmatched opening
double quote is shown in the app).
(4) Is "M-x org-mobile-push" supposed to be able to set up its dir in a
sane state? E.g. should I be able to make a new dir, point org-directory
and org-mobile-directory at it, create an index file with the format shown
here [5], and then point my app to it, sync and be good to go? Because I
can't. If I (a) wipe data from my app (2) create a new dir in dropbox (3)
point org-mobile-directory and org-directory at that new dir (4) point
org-mobile-index-for-pull at agendas.org (5) Put a couple lines into
agendas.org (6) run M-x org-mobile-push ... then syncing my app appears
to do nothing; none of the data I put in agendas.org shows up. I can
then, from my phone add a new bullet point ... and I can see that the new
bullet is then added to agendas.org. But at no point can I actually see
the outline on my phone. If I try to go to the "Outline", it just shows me
the list of options (synchronize, settings, capture, website).
(5) Is the outline that's meant to be displayed in the app (I've never
seen it, so I don't know) meant to be driven by the links in index.orgfile? Like, respecting order, and stuff?
(6) Am I supposed to setup emacs first? Or set up the app first? The
documentation page [3] says to read [1] first, but I assume that means
"read and follow instructions found there" setting up emacs before
proceeding onto the app instructions in the body of [3]?
For the record, my phone is a Nexus S, running Ice cream sandwich
(4.0.4), and my emacs "About" box says "Version 23.3 (9.0)"
[1] http://orgmode.org/manual/**MobileOrg.html#MobileOrg<http://orgmode.org/manual/MobileOrg.html#MobileOrg>
[2] https://github.com/matburt/**mobileorg-android/wiki/FAQ<https://github.com/matburt/mobileorg-android/wiki/FAQ>
[3] https://github.com/matburt/**mobileorg-android/wiki/**Documentation<https://github.com/matburt/mobileorg-android/wiki/Documentation>
[4] http://orgmode.org/manual/**Setting-up-the-staging-area.**
html#Setting-up-the-staging-**area<http://orgmode.org/manual/Setting-up-the-staging-area.html#Setting-up-the-staging-area>
[5] http://mobileorg.ncogni.to/**doc/getting-started/syncing-**
with-mobileorg/<http://mobileorg.ncogni.to/doc/getting-started/syncing-with-mobileorg/>
--
You received this message because you are subscribed to the Google Groups
"mobileorg-android" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at http://groups.google.com/group/mobileorg-android.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "mobileorg-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobileorg-android+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to mobileorg-android-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/mobileorg-android.
For more options, visit https://groups.google.com/groups/opt_out.
mobileorg-android+noreply-APn2wQeZ4YBas0MwDqHbkEOdcBugVnx6Ap-qIl-/
2014-04-28 19:58:22 UTC
Permalink
I was having troubles like the above poster ("Please set org-directory…" error) that appeared to be solved by--as crazy as this sounds--writing out the full pathname instead of using the tilde abbreviation. i.e. /Users/my-name/org as opposed to ~/org

Maybe just something weird on my end but…FWIW

Anyway, very glad to see one user's questions being addressed so thoroughly here; only makes the community stronger. Thanks Matthew!

Best
Will
I've tried setting up mobile-org (version 0.9.0, the app tells me) and synchronization with emacs like 5 times so far, and have not gotten it to work in both directions. Yes, I've read the documentation at [1] , and the FAQ at [2], and the "Documentation" page [3] with all the screenshots. But there are still multiple points about which I am confused/frustrated.
Because these seem to be really basic issues, to the point that no one's thought to explicitly write them out, I'm guessing it'll skip a bunch of steps if someone could please share (like via gist or something) a small working sync'ed directory, and the relevant matching lines of .emacs -- I would be enormously appreciative if someone could just show me a functioning example.
(1) org-directory versus org-mobile-directory : The "Setting up the staging area" [4] page says to define org-mobile-directory in my .emacs file. However, when I try to do M-x org-mobile-push, I get a message telling me "Please set `org-directory' to the directory where your org files live" -- do I need *both*? Should they be the same? Should they *not* be the same?
(2) What's the deal with org-mobile-inbox-for-pull ? I gather that this is where new "captures" from the app will get dumped -- but are they the supposed to say there? E.g. Would it be a bad idea to set this variable to agendas.org (the file that a new index.org seems to always point to)?
(3) Is the end-user supposed to edit index.org? Every time I do, it seems like the next sync-cycle seems to reset it to only have agendas.org; when I first create it, it also only has agendas.org. And it seems weird that this setup/normalization process doesn't care to create agendas.org.
(4) Is the app supposed to be able to setup its own dir in a sane state? E.g. I point it at a totally empty directory in my Dropbox, and I don't attempt to touch it from emacs, am I supposed to be able to use it to make/view/edit an outline/notes/agenda? Because I can't. If I delete all user data from the app, go through the setup wizard and point everything at a brand new, empty directory, of which emacs is wholly unaware, and them attempt to create single item, and hit the sync button, I can see through dropbox that a mobileorg.org file is created, and that it contains the correct data -- but this isn't reflected in the app. The main app page merely shows one entry, which reads '"File' (yes, that unmatched opening double quote is shown in the app).
(4) Is "M-x org-mobile-push" supposed to be able to set up its dir in a sane state? E.g. should I be able to make a new dir, point org-directory and org-mobile-directory at it, create an index file with the format shown here [5], and then point my app to it, sync and be good to go? Because I can't. If I (a) wipe data from my app (2) create a new dir in dropbox (3) point org-mobile-directory and org-directory at that new dir (4) point org-mobile-index-for-pull at agendas.org (5) Put a couple lines into agendas.org (6) run M-x org-mobile-push ... then syncing my app appears to do nothing; none of the data I put in agendas.org shows up. I can then, from my phone add a new bullet point ... and I can see that the new bullet is then added to agendas.org. But at no point can I actually see the outline on my phone. If I try to go to the "Outline", it just shows me the list of options (synchronize, settings, capture, website).
(5) Is the outline that's meant to be displayed in the app (I've never seen it, so I don't know) meant to be driven by the links in index.org file? Like, respecting order, and stuff?
(6) Am I supposed to setup emacs first? Or set up the app first? The documentation page [3] says to read [1] first, but I assume that means "read and follow instructions found there" setting up emacs before proceeding onto the app instructions in the body of [3]?
For the record, my phone is a Nexus S, running Ice cream sandwich (4.0.4), and my emacs "About" box says "Version 23.3 (9.0)"
[1] http://orgmode.org/manual/MobileOrg.html#MobileOrg
[2] https://github.com/matburt/mobileorg-android/wiki/FAQ
[3] https://github.com/matburt/mobileorg-android/wiki/Documentation
[4] http://orgmode.org/manual/Setting-up-the-staging-area.html#Setting-up-the-staging-area
[5] http://mobileorg.ncogni.to/doc/getting-started/syncing-with-mobileorg/
--
You received this message because you are subscribed to the Google Groups "mobileorg-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobileorg-android+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to mobileorg-android-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/mobileorg-android.
For more options, visit https://groups.google.com/d/optout.
Loading...