From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vamsi Vytla Subject: org-mobile-push and MobileOrg compatibility issue Date: Fri, 04 Sep 2015 22:28:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fd042217681051ef36c92 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXzTS-0000O5-Ma for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 18:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXzTR-0003gU-Pu for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 18:28:46 -0400 Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:33517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXzTR-0003gG-Ha for emacs-orgmode@gnu.org; Fri, 04 Sep 2015 18:28:45 -0400 Received: by iofh134 with SMTP id h134so39252089iof.0 for ; Fri, 04 Sep 2015 15:28:43 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org, gordienkos@gmail.com --001a113fd042217681051ef36c92 Content-Type: text/plain; charset=UTF-8 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))) --001a113fd042217681051ef36c92 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
M-x 'org-mobile-push', with the latest org-mode le= aves 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&= #39;t any tests, it's hard to validate changes and understand things ea= sily.

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

Cheers!<= /div>

diff --git a/lisp/org-mobile.el b/lisp/org-mo= bile.el
index 6c7c8d0..7e1127c 100644
--- a/lisp/org-mo= bile.el
+++ b/lisp/org-mobile.el
@@ -446,7 +446,7 @@ ag= enda view showing the flagged items."
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0x))
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(cdr entry)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (inser= t "#+TODO: " (mapconcat 'identity kwds " ") "\= n")
- =C2=A0 =C2=A0 =C2=A0 (setq dwds (or (member "|&qu= ot; kwds) (last kwds))
+ =C2=A0 =C2=A0 =C2=A0 (setq dwds (member = "|" kwds)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 twds (org-delete-all dwds kwds)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 todo-kwds (org-delete-all twds todo-kwds)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 done-kwds (org-delete-all = dwds done-kwds)))

--001a113fd042217681051ef36c92--