emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Steve Harman <stvharman@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: A recent mobile org change causing sync issues
Date: Sat, 24 Oct 2015 11:29:57 +0200	[thread overview]
Message-ID: <87pp04y5pm.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJ-7bJPO49vnvutLbfKwFxg-2H_mn4TejETQ+GnjNQbTd66Tkg@mail.gmail.com> (Steve Harman's message of "Mon, 19 Oct 2015 10:52:14 -0400")

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

Steve Harman <stvharman@gmail.com> 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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-mobile-Fix-c15db80e32d22dace184203f6f03a0b586bb4.patch --]
[-- Type: text/x-diff, Size: 914 bytes --]

From 9a88fa0859075aae10a6cd90fb03d533acee1f6b Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
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


      reply	other threads:[~2015-10-24  9:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-18 22:43 A recent mobile org change causing sync issues Steve Harman
2015-10-19  6:48 ` Nicolas Goaziou
2015-10-19 14:52   ` Steve Harman
2015-10-24  9:29     ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pp04y5pm.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=stvharman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).