emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mobile-push and MobileOrg compatibility issue
@ 2015-09-04 22:28 Vamsi Vytla
  2015-09-05  8:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Vamsi Vytla @ 2015-09-04 22:28 UTC (permalink / raw)
  To: emacs-orgmode, gordienkos

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

M-x 'org-mobile-push', with the latest org-mode leaves the files
incompatible with MobileOrg Android application. There have been no changes
in MobileOrg for over a year.

I bisected the latest org-mobile related changes and noticed that reverting
this one line below "fixes" the issue (at least for me). Since there aren't
any tests, it's hard to validate changes and understand things easily.

If anybody can point me in the right direction, I would love to look into
it further.

Cheers!

diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el
index 6c7c8d0..7e1127c 100644
--- a/lisp/org-mobile.el
+++ b/lisp/org-mobile.el
@@ -446,7 +446,7 @@ agenda view showing the flagged items."
                                         x))
                           (cdr entry)))
        (insert "#+TODO: " (mapconcat 'identity kwds " ") "\n")
-       (setq dwds (or (member "|" kwds) (last kwds))
+       (setq dwds (member "|" kwds)
              twds (org-delete-all dwds kwds)
              todo-kwds (org-delete-all twds todo-kwds)
              done-kwds (org-delete-all dwds done-kwds)))

[-- Attachment #2: Type: text/html, Size: 1501 bytes --]

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

end of thread, other threads:[~2015-10-14  6:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-04 22:28 org-mobile-push and MobileOrg compatibility issue Vamsi Vytla
2015-09-05  8:45 ` Nicolas Goaziou
2015-10-12 17:42   ` Vamsi Vytla
2015-10-13 19:28     ` Chris Patti
2015-10-14  6:29       ` Eric S Fraga
2015-10-13 20:15     ` 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).