From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moritz Ulrich Subject: Re: org-mobile: Strange #+TODO: in index.org Date: Fri, 30 Mar 2012 01:12:08 +0200 Message-ID: References: <87fwcru1ca.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDOWA-00035z-Tw for emacs-orgmode@gnu.org; Thu, 29 Mar 2012 19:12:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDOW9-0000JK-1C for emacs-orgmode@gnu.org; Thu, 29 Mar 2012 19:12:34 -0400 In-Reply-To: <87fwcru1ca.fsf@gnu.org> 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: Bastien Cc: emacs-orgmode@gnu.org On Thu, Mar 29, 2012 at 12:51, Bastien wrote: > Hi Ulrich, It's Moritz, everyone confuses this ;-) (No hard feelings) > Moritz Ulrich writes: > >> I recently started using org-mode in combination with MobileOrg rather >> excessively. Everything works pretty good, with one exception: >> `org-mobile-push' adds a strange #+TODO: line to index.org: >> >> =C2=A0 =C2=A0 #+TODO: =C2=A0| DONE > > See this section in the manual: > > =C2=A05.2.5 Setting up keywords for individual files in I wasn't aware of | being a special operator for TODO keywords, thanks! >> This confuses my MobileOrg application (Android, MobileOrg-NG, a fork) >> and I couldn't find the source of the problem: >> >> - grepped my org-agenda files for 'DONE', '|' or 'TODO' (no abnormalitie= s) >> - Checked `org-todo-keywords', `org-todo-keywords-for-agenda' and >> `org-todo-keyword-alist-for-agenda'. Again, nothing strange. >> >> The only file with this abnormality is index.org after >> org-mobile-push. Killing the line fixes it, but the next push will add >> it again. > > Can you check if this patch against master fixes the problem for you? > Sadly it causes a bunch of problems: MobileOrg and MobileOrg-NG doesn't seem to recognize #+TYP_TODO: lines. With this patch applied, MobileOrg doesn't recognize any TODO keyword and therefore fails to parse them correctly. Looks like a bug in the MobileOrg projects. > > -- > =C2=A0Bastien > --=20 Moritz Ulrich