From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: MobileOrg Export Broken Date: Fri, 24 Jun 2016 09:22:41 +0200 Message-ID: <877fdf9hku.fsf@saiph.selenimh> References: <871t3nxv35.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGLS1-0007KH-4I for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 03:22:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGLS0-0004Sx-BL for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 03:22:53 -0400 In-Reply-To: <871t3nxv35.fsf@gnu.org> (Ian Dunn's message of "Thu, 23 Jun 2016 20:57:02 -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" To: Ian Dunn Cc: emacs-orgmode@gnu.org Hello, Ian Dunn writes: > I run Org from the git repo, updating daily. I unsuccessfully > tried syncing with MobileOrg (Android) about two hours ago. I reverted > org-mobile.el back to the version from yesterday and found the > problem: TODO keywords aren't being listed correctly. Here's an > example: > > Old: > #+TODO: TODO | DEFERRED DONE PENDING CANCELLED > > New: > #+TODO: TODO > > This messes with MobileOrg, preventing it from syncing. > > I worked through the problem, which appears to be caused by > org-delete-all being called before the TODO keywords are inserted > into the file. I attached a patch that fixes this problem. Correct. I pushed a slightly different patch. Thank you. Regards, -- Nicolas Goaziou