emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Troxel <gdt@ir.bbn.com>
To: Torsten Wagner <torsten.wagner@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Fix: org-mobile-push results in byte-code: Wrong type argument: listp, "TODO"
Date: Tue, 29 Jun 2010 10:27:05 -0400	[thread overview]
Message-ID: <rmiiq51j4na.fsf@fnord.ir.bbn.com> (raw)
In-Reply-To: <4C296860.6000009@gmail.com> (Torsten Wagner's message of "Tue, 29 Jun 2010 12:28:32 +0900")


[-- Attachment #1.1: Type: text/plain, Size: 1458 bytes --]


Torsten Wagner <torsten.wagner@gmail.com> 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 #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-06-29 14:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29  3:28 Fix: org-mobile-push results in byte-code: Wrong type argument: listp, "TODO" Torsten Wagner
2010-06-29 14:27 ` Greg Troxel [this message]
2010-06-29 22:40 ` Sven Bretfeld
2010-06-30  4:23   ` Carsten Dominik

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=rmiiq51j4na.fsf@fnord.ir.bbn.com \
    --to=gdt@ir.bbn.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=torsten.wagner@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).