emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan G. Underwood <jonathan.underwood@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Problem when customizing TODO sequence
Date: Thu, 7 Jun 2007 13:55:08 +0000 (UTC)	[thread overview]
Message-ID: <loom.20070607T155207-370@post.gmane.org> (raw)
In-Reply-To: 645d17210706070417n44fcdaa0wf084c7e461a4e5b@mail.gmail.com

Jonathan Underwood <jonathan.underwood <at> gmail.com> writes:

> 
> Hi,
> 
> In my .emacs, I have this:
> 
> (setq org-todo-keywords
>       '((sequence "TODO" "IN-PROGRESS" "|" "DONE" "CANCELLED")))
> 
> and when I pressC-c C-t I get this:
> 
> Debugger entered--Lisp error: (wrong-type-argument integerp sequence)
>   org-todo(nil)
>   call-interactively(org-todo)
> 
> This is with GNU Emacs 22 and org-mode 4.77.
> 
> Am I doing something stupid, or is this a bug?


Actually, I was doing something stupid, for some reason the earlier version of
org-mode that is shipped with emacs 22 was being used (I am not sure why).
Anyway, I have that fixed, but it still does not work. Now when I do org-todo
(C-c C-t) the todo state rotates between no state, TODO and DONE. Examining
org-todo-keywords and org-todo-keywords-1 shows:

org-todo-keywords is a variable defined in `org.el'.
Its value is 
((sequence "TODO" "IN-PROGRESS" "|" "DONE" "CANCELLED"))

org-todo-keywords-1 is a variable defined in `org.el'.
Its value is ("TODO" "DONE")

So, why is org-todo-keywords-1 not inheriting the value of org-todo-keywords ?

  reply	other threads:[~2007-06-07 14:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07 11:17 Problem when customizing TODO sequence Jonathan Underwood
2007-06-07 13:55 ` Jonathan G. Underwood [this message]
2007-06-07 14:53   ` Carsten Dominik
2007-06-07 14:59     ` Jonathan Underwood

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=loom.20070607T155207-370@post.gmane.org \
    --to=jonathan.underwood@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).