From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Harman Subject: A recent mobile org change causing sync issues Date: Sun, 18 Oct 2015 18:43:42 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b2e412cb8f15f052268c268 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znwg4-0006e4-F0 for emacs-orgmode@gnu.org; Sun, 18 Oct 2015 18:43:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Znwg3-0008Rg-47 for emacs-orgmode@gnu.org; Sun, 18 Oct 2015 18:43:44 -0400 Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]:36847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Znwg2-0008Rc-Ub for emacs-orgmode@gnu.org; Sun, 18 Oct 2015 18:43:43 -0400 Received: by obcqt19 with SMTP id qt19so47768418obc.3 for ; Sun, 18 Oct 2015 15:43:42 -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 --047d7b2e412cb8f15f052268c268 Content-Type: text/plain; charset=UTF-8 Folks, I believe a recent change in org-mobile.el is causing a sync problem on the Android app. There is some info here: https://github.com/matburt/mobileorg-android/issues/472 The info for the commit is at the bottom. Respectfully, Steve author Sergey Gordienko Fri, 26 Jun 2015 14:44:20 +0000 (17:44 +0300) committer Nicolas Goaziou Sun, 28 Jun 2015 07:06:00 +0000 (09:06 +0200) commit c15db80e32d22dace184203f6f03a0b586bb4b50 tree 31d72afce3cc5adfb0548fdd88680543a2d82e5a tree | snapshot parent 5f3d8037a5099ca92db7edbf95ced22f0adefbef org-mobile: Tiny fix in creating index.org file * lisp/org-mobile.el (org-mobile-create-index-file): Eliminate cloning of `#+READONLY' property in the `index.org' file. A sublists of `org-todo-keywords' don't need to contain the `|'. TINYCHANGE --047d7b2e412cb8f15f052268c268 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Folks,

I believe a recent change in= org-mobile.el is causing a sync problem on the Android app. There is some = info here: https://github.com/matburt/mobileorg-android/issues/472

The info for the commit is at the bottom.

Respectf= ully,

Steve



author=C2=A0= =C2=A0=C2=A0 Sergey Gordienko <g= ordienkos@gmail.com>=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 Fri, 2= 6 Jun 2015 14:44:20 +0000 (17:44 +0300)
committer=C2=A0=C2=A0=C2=A0 Nico= las Goaziou <mail@nicolasgoazi= ou.fr>=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0 Sun, 28 Jun 2015 07:= 06:00 +0000 (09:06 +0200)
commit=C2=A0=C2=A0=C2=A0 c15db80e32d22dace1842= 03f6f03a0b586bb4b50
tree=C2=A0=C2=A0=C2=A0 31d72afce3cc5adfb0548fdd88680= 543a2d82e5a=C2=A0=C2=A0=C2=A0 tree | snapshot
parent=C2=A0=C2=A0=C2=A0 5= f3d8037a5099ca92db7edbf95ced22f0adefbef
org-mobile: Tiny fix in creating= index.org file

* lisp/org-mobile.e= l (org-mobile-create-index-file):
Eliminate cloning of `#+READONLY' = property in the `index.org' file.
A= sublists of `org-todo-keywords' don't need to contain the `|'.=

TINYCHANGE
--047d7b2e412cb8f15f052268c268-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: A recent mobile org change causing sync issues Date: Mon, 19 Oct 2015 08:48:18 +0200 Message-ID: <871tcr1hhp.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo4DT-0008LP-G2 for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 02:46:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zo4DS-0001kR-Fp for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 02:46:43 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:40972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zo4DS-0001dH-9q for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 02:46:42 -0400 In-Reply-To: (Steve Harman's message of "Sun, 18 Oct 2015 18:43:42 -0400") 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: Steve Harman Cc: emacs-orgmode@gnu.org Hello, Steve Harman writes: > I believe a recent change in org-mobile.el is causing a sync problem on the > Android app. There is some info here: > https://github.com/matburt/mobileorg-android/issues/472 > > The info for the commit is at the bottom. Thank you for the report. This is a known issue, but it is not clear as why it failing. Could you should the differences between "index.org" created with or without this commit ? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Harman Subject: Re: A recent mobile org change causing sync issues Date: Mon, 19 Oct 2015 10:52:14 -0400 Message-ID: References: <871tcr1hhp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113e23ca773e3d0522764a85 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35263) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoBnM-000436-JT for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 10:52:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoBnL-0005Qw-60 for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 10:52:16 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:35545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoBnL-0005Qs-0h for emacs-orgmode@gnu.org; Mon, 19 Oct 2015 10:52:15 -0400 Received: by oiev17 with SMTP id v17so52149340oie.2 for ; Mon, 19 Oct 2015 07:52:14 -0700 (PDT) In-Reply-To: <871tcr1hhp.fsf@nicolasgoaziou.fr> 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: Steve Harman , emacs-orgmode@gnu.org --001a113e23ca773e3d0522764a85 Content-Type: text/plain; charset=UTF-8 Thanks Nicolas, I am not able to post the diff due to the personal nature of the data. However, I can say that with the commit, the tags in the #+TAGS line is missing. Also, a link to one of the org files is missing. Would it be possible to revert this change? This is such a critical bug and it really disrupted many of ours personal workflows. It also embarrassed us towards our colleagues, families, and friends who held the view that proprieatary solutions are better. In general, it is preferable to have a test suite which should pass before releasing these commits. Yes, there is MELPA stable but not every package is on MELPA. thanks Stv On Mon, Oct 19, 2015 at 2:48 AM, Nicolas Goaziou wrote: > Hello, > > Steve Harman writes: > > > I believe a recent change in org-mobile.el is causing a sync problem on > the > > Android app. There is some info here: > > https://github.com/matburt/mobileorg-android/issues/472 > > > > The info for the commit is at the bottom. > > Thank you for the report. > > This is a known issue, but it is not clear as why it failing. > > Could you should the differences between "index.org" created with or > without this commit ? > > Regards, > > -- > Nicolas Goaziou > --001a113e23ca773e3d0522764a85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Nicolas,

I am not able to post the= diff due to the personal nature of the data. However, I can say that with = the commit, the tags in the #+TAGS line is missing. Also, a link to one of = the org files is missing.

Would it be possible to revert this= change? This is such a critical bug and it really disrupted many of ours p= ersonal workflows. It also embarrassed us towards our colleagues, families,= and friends who held the view that proprieatary solutions are better.
=
In general, it is preferable to have a test suite which should pass bef= ore releasing these commits. Yes, there is MELPA stable but not every packa= ge is on MELPA.

thanks

Stv


On Mon, Oct 19, 2015 at 2:48 AM, Nicolas Goaziou <mail@ni= colasgoaziou.fr> wrote:
Hel= lo,

Steve Harman <stvharman@gmail.com= > writes:

> I believe a recent change in org-mobile.el is causing a sync problem o= n the
> Android app. There is some info here:
> https://github.com/matburt/mobileorg-and= roid/issues/472
>
> The info for the commit is at the bottom.

Thank you for the report.

This is a known issue, but it is not clear as why it failing.

Could you should the differences between "index.org" created with or without this commit ?

Regards,

--
Nicolas Goaziou

--001a113e23ca773e3d0522764a85-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: A recent mobile org change causing sync issues Date: Sat, 24 Oct 2015 11:29:57 +0200 Message-ID: <87pp04y5pm.fsf@nicolasgoaziou.fr> References: <871tcr1hhp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpv7W-00008D-Lk for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 05:28:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zpv7V-00045I-I6 for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 05:28:14 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zpv7V-00044G-BJ for emacs-orgmode@gnu.org; Sat, 24 Oct 2015 05:28:13 -0400 In-Reply-To: (Steve Harman's message of "Mon, 19 Oct 2015 10:52:14 -0400") 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: Steve Harman Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Steve Harman writes: > Thanks Nicolas, > > I am not able to post the diff due to the personal nature of the data. > However, I can say that with the commit, the tags in the #+TAGS line is > missing. Also, a link to one of the org files is missing. Note that the commit alters neither TAGS lines nor links. > Would it be possible to revert this change? This change was introduced to fix a bug. Reverting it would break "org-mobile.el" in another way. The problem was reported but no one, so far, was able to investigate and tell what is wrong in the patch. > This is such a critical bug and it really disrupted many of ours > personal workflows. I sympathize. Unfortunately, it seems that no Org developer is actually using "org-mobile.el" or knows its internal. Apparently, mobileOrg expects a specific format for index.org, but it is not documented > It also embarrassed us towards our colleagues, > families, and friends who held the view that proprieatary solutions > are better. I wouldn't bother about people thinking that proprietary solutions are better. > In general, it is preferable to have a test suite which should pass before > releasing these commits. Yes, there is MELPA stable but not every package > is on MELPA. What do you want to test? We don't even know what output is expected. In any case, if you implement some tests, feel free to submit them to this ML. Meanwhile, would the following patch fix the issue? Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-org-mobile-Fix-c15db80e32d22dace184203f6f03a0b586bb4.patch >From 9a88fa0859075aae10a6cd90fb03d533acee1f6b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 24 Oct 2015 11:15:31 +0200 Subject: [PATCH] org-mobile: Fix c15db80e32d22dace184203f6f03a0b586bb4b50 * lisp/org-mobile.el (org-mobile-create-index-file): Fix c15db80e32d22dace184203f6f03a0b586bb4b50. --- lisp/org-mobile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 6c7c8d0..17600bd 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -439,8 +439,8 @@ agenda view showing the flagged items." (if org-mobile-use-encryption org-mobile-encryption-tempfile target-file) - (insert "#+READONLY\n") (while (setq entry (pop def-todo)) + (insert "#+READONLY\n") (setq kwds (mapcar (lambda (x) (if (string-match "(" x) (substring x 0 (match-beginning 0)) x)) -- 2.6.1 --=-=-=--