[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-mobile-push and MobileOrg compatibility issue

From: Vamsi Vytla
Subject: [O] org-mobile-push and MobileOrg compatibility issue
Date: Fri, 04 Sep 2015 22:28:33 +0000

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.


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]