emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Resolve mobile-org empty file issue (kwds in org-mobile.el)
@ 2015-11-21 21:55 John Hendy
  2015-11-22 22:28 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: John Hendy @ 2015-11-21 21:55 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: mat

Greetings,
(cc'ing Matthew Jones, the mobile-org developer)


This is a followup from this thread:
- https://lists.gnu.org/archive/html/emacs-orgmode/2015-09/msg00168.html

That ended with:

#+begin_quote Nicolas Goaziou

IIRC this change was introduced to fix another bug. It might be useful
to discuss with the author of this change. Another option is to use

  (or (member "|" kwds) (cons "|" (last kwds)))

#+end_quote

Here's the original patch referenced above, which I gather fixed one
thing but rendered file contents empty when viewing from mobile-org:
- https://lists.gnu.org/archive/html/emacs-orgmode/2015-06/msg00656.html

I just went through setting up mobile-org to troubleshoot Peter's
issue and stumbled into the empty file issue:
- http://thread.gmane.org/gmane.emacs.orgmode/102990/focus=103001

Googling around, I found out this was discovered quite some time ago (~Sept):
- https://github.com/matburt/mobileorg-android/issues/472
- https://github.com/matburt/mobileorg-android/issues/471

I can confirm that changing the relevant bit in org-mobile.el yielded
the full contents of my files upon re-sync. Could we figure out a
definitive resolution? For those setting up for the first time, this
will cause quite the confusion!


Many thanks,
John

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Resolve mobile-org empty file issue (kwds in org-mobile.el)
  2015-11-21 21:55 Resolve mobile-org empty file issue (kwds in org-mobile.el) John Hendy
@ 2015-11-22 22:28 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-11-22 22:28 UTC (permalink / raw)
  To: John Hendy; +Cc: mat, emacs-orgmode

Hello,

John Hendy <jw.hendy@gmail.com> writes:

> I can confirm that changing the relevant bit in org-mobile.el yielded
> the full contents of my files upon re-sync. Could we figure out a
> definitive resolution? For those setting up for the first time, this
> will cause quite the confusion!

The problem with the suggestion above is that it reverts original patch
and re-introduce the bug that patch was trying to fix. Namely, when
a todo sequence is

  ("A" "B")

"B" is a DONE keyword, as recognized by

  (or (member "|" kwds) (last kwds))

The real question is why a correct definition for DONE keywords
introduces a problem. IMO, this patch discloses another bug somewhere
else.

Any debugging would be appreciated, as it could well be on the mobile
part of the application.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-22 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21 21:55 Resolve mobile-org empty file issue (kwds in org-mobile.el) John Hendy
2015-11-22 22:28 ` Nicolas Goaziou

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).