emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Fix: org-mobile-push results in byte-code: Wrong type argu


From: Greg Troxel
Subject: Re: [Orgmode] Fix: org-mobile-push results in byte-code: Wrong type argument: listp, "TODO"
Date: Tue, 29 Jun 2010 10:27:05 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (berkeley-unix)

Torsten Wagner <address@hidden> writes:

> this problem was described by Xin already some monthes ago. Following
> the thread, the solution was to remove the customisation of the variable
> "org-todo-keywords".
>
> Today, I faced the exact same problem. Removing seems not the correct
> solution to me so I searched around in the org-manual.
> To my surprise I found the following example:
>
> (setq org-todo-keywords
>        '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))
>
> whereas in my init file I used simply
>
> (setq org-todo-keywords
>        '("TODO" "STARTED" "WAITING" "DONE"))
>
> I changed my lines according to the manual and now org-mobile-push works
> without any problem. I wasn't able to track down whether the
> org-todo-keyword variable changed recently and I used an old definition
> or why I customised it in this "simple" resp. wrong way. Surprisingly,
> this didn't effect the TODO states mechanism in org-mode itself. They
> work as desired with the old customisation.

Perhaps the problem is that in your definition you didn't have any
keywords defined as completed states, and thus there are no "done
keywords".  I couldn't figure this out in a few minutes.  Try adding "|"
before DONE in your example.  It could be that some parts of org but not
all treat the last keywords as a done keyword when there is no |.

(Of course org-mobile-push should give a better error message if this is
the issues.)

Attachment: pgpS9WyyOMxbN.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]