Discussion:
unfortunate behavior with org-mobile-pull
mobileorg-android+noreply-APn2wQeZ4YBas0MwDqHbkEOdcBugVnx6Ap-qIl-/
2014-06-13 20:56:25 UTC
Permalink
Hi,

I've noticed a few other posts that seem perhaps related to this issue, but here's what was happening to me.

All I was trying to do was clock-in on a given node from the MobileOrg menu that you get when a node is selected. The problem was that I was getting very inconsistent results when I then tried pulling those edits down while in Emacs on my Macbook Pro (running OS X 10.8). My org/emacs versions are (where's the markdown formatting?!):

Org-mode version 8.2.6 (8.2.6-47-ge3d2c1-elpa @/Applications/Aquamacs.app/Contents/Resources/lisp/org/lisp/)

GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39) of 2014-01-23

Below are three examples of the kinds of errors I would get, depending on the node I had selected. I also describe the fix I discovered.

* Heading not found on level 4: 2014 F(edit:body) [[olp:projects.org:editing/writings/2011-2014/2014/HS-era][2014/HS-era]]

The above error stemmed from using a / (that is, a forward slash) in the heading text, which was
* 2014/HS-era

Perhaps not using slashes in a heading is obvious to some people, as I notice now--looking at the fully-fleshed out olp text above--that the slash appears to be used in the formatting of the node-structure into a link.

Or something. Removing the slash and using a space allowed me to pull the changes without the "Heading Not Found" error.

However, the following errors were the result of something else that was squirrely.

* Body was changed in MobileOrg and on the computer F(edit:body) [[olp:projects.org:editing/writings/2011-2014/2014 HS-era][2014 HS-era]]

* Before first headline at position 122 in buffer notes.org F(edit:body) [[olp:notes.org:notes on managing org-projects][notes on managing org-projects]]

The last one reminded me of something ("All of these edits placed the node one level too high") in this post:

https://groups.google.com/forum/#!searchin/mobileorg-android/org-mobile-pull/mobileorg-android/lTBl86Pg_qQ/t3oG7IhFvqEJ

My solution was to insert a "dead-node" at the very top of each file. For some reason, that seemed to ensure that the :LOGBOOK: drawer appeared in the correct place without producing those error messages (Perhaps this has something to with the fact that I have set the following customization '(org-clock-into-drawer t) in my .emacs?)

Anyway, hope that helps somebody. Presumably a problem in org-mode??

Best,
Will


PS. Never saw a follow-up to this issue in gmane:

http://permalink.gmane.org/gmane.emacs.orgmode/64989
--
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.
Ed R via mobileorg-android
2014-10-05 00:07:31 UTC
Permalink
I think I am getting close to deal with this level problem.

Where the proper place to put a dead node in a file.

On emacs on the computer side?

*
** start here

Thanks
Post by mobileorg-android+noreply-APn2wQeZ4YBas0MwDqHbkEOdcBugVnx6Ap-qIl-/
Hi,
I've noticed a few other posts that seem perhaps related to this issue, but here's what was happening to me.
GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39) of 2014-01-23
Below are three examples of the kinds of errors I would get, depending on the node I had selected. I also describe the fix I discovered.
* Heading not found on level 4: 2014 F(edit:body) [[olp:projects.org:editing/writings/2011-2014/2014/HS-era][2014/HS-era]]
The above error stemmed from using a / (that is, a forward slash) in the heading text, which was
* 2014/HS-era
Perhaps not using slashes in a heading is obvious to some people, as I notice now--looking at the fully-fleshed out olp text above--that the slash appears to be used in the formatting of the node-structure into a link.
Or something. Removing the slash and using a space allowed me to pull the changes without the "Heading Not Found" error.
However, the following errors were the result of something else that was squirrely.
* Body was changed in MobileOrg and on the computer F(edit:body) [[olp:projects.org:editing/writings/2011-2014/2014 HS-era][2014 HS-era]]
* Before first headline at position 122 in buffer notes.org F(edit:body) [[olp:notes.org:notes on managing org-projects][notes on managing org-projects]]
https://groups.google.com/forum/#!searchin/mobileorg-android/org-mobile-pull/mobileorg-android/lTBl86Pg_qQ/t3oG7IhFvqEJ
My solution was to insert a "dead-node" at the very top of each file. For some reason, that seemed to ensure that the :LOGBOOK: drawer appeared in the correct place without producing those error messages (Perhaps this has something to with the fact that I have set the following customization '(org-clock-into-drawer t) in my .emacs?)
Anyway, hope that helps somebody. Presumably a problem in org-mode??
Best,
Will
http://permalink.gmane.org/gmane.emacs.orgmode/64989
--
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...