From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Patti Subject: Re: org-mobile-push and MobileOrg compatibility issue Date: Tue, 13 Oct 2015 15:28:13 -0400 Message-ID: References: <87pp1xjlts.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5F9-00062c-Ty for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 15:28:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm5F8-0004HH-KW for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 15:28:15 -0400 Received: from mail-ig0-x22b.google.com ([2607:f8b0:4001:c05::22b]:38279) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm5F8-0004Fy-EV for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 15:28:14 -0400 Received: by igsu6 with SMTP id u6so847628igs.1 for ; Tue, 13 Oct 2015 12:28:13 -0700 (PDT) In-Reply-To: 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: Vamsi Vytla Cc: gordienkos@gmail.com, emacs-orgmode@gnu.org I must confess I am not wild about the whole way MobileOrg purports to function. I don't really want to have to push or pull my OrgFiles to/from mobile. With mechanisms like Dropbox what I *really* want is to be able to access and manipulate Org content on my device directly. -Chris On Mon, Oct 12, 2015 at 1:42 PM, Vamsi Vytla wrote: > Hi Nicolas, > > I can guarantee you that your suggestion did NOT work for me. I haven't > heard anything from Sergey here. Looks like people at MobileOrg-Android > maybe running into the same issue: > > https://github.com/matburt/mobileorg-android/issues/472#issuecomment-147403622 > > Any thoughts? > > Vamsi > > On Sat, Sep 5, 2015 at 1:44 AM Nicolas Goaziou > wrote: >> >> Hello, >> >> Vamsi Vytla writes: >> >> > 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))) >> >> IIRC this change was introduced to fix another bug. It might be useful >> to discuss with the author of this change. Another option is to use >> >> (or (member "|" kwds) (cons "|" (last kwds))) >> >> >> Regards, >> >> -- >> Nicolas Goaziou -- Christopher Patti - Geek At Large | GTalk: cpatti@gmail.com | AIM: chrisfeohpatti | P: (260) 54PATTI "Technology challenges art, art inspires technology." - John Lasseter, Pixar