From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan G. Underwood Subject: Re: Problem when customizing TODO sequence Date: Thu, 7 Jun 2007 13:55:08 +0000 (UTC) Message-ID: References: <645d17210706070417n44fcdaa0wf084c7e461a4e5b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HwIwx-000100-3L for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:26:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HwIwv-0000ze-El for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:26:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwIwv-0000zb-8s for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:26:53 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HwIwu-0003IZ-OR for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:26:53 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HwIqI-0004dL-HX for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 16:20:03 +0200 Received: from withnail.phys.ucl.ac.uk ([128.40.2.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jun 2007 16:20:02 +0200 Received: from jonathan.underwood by withnail.phys.ucl.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jun 2007 16:20:02 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Jonathan Underwood 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 ?