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 ?








_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to