From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Problem when customizing TODO sequence Date: Thu, 7 Jun 2007 16:53:31 +0200 Message-ID: <26a2adb7aeae5e462a88792f7b549a1d@science.uva.nl> References: <645d17210706070417n44fcdaa0wf084c7e461a4e5b@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HwJMr-0005iW-IB for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:53:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HwJMp-0005i9-8B for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:53:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HwJMp-0005i6-1v for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:53:39 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HwJMo-00076T-Ii for emacs-orgmode@gnu.org; Thu, 07 Jun 2007 10:53:38 -0400 In-Reply-To: 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: "Jonathan G. Underwood" Cc: emacs-orgmode@gnu.org Try restarting Emacs, to make sure everything is consistent. Then check the value of the variable org-version to make sure that you are using the right value. Finally, make sure that you have no buffer-local settings for the TODO states, like #SEQ_TODO: TODO DONE - Carsten On Jun 7, 2007, at 15:55, Jonathan G. Underwood wrote: > 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 ? > > > > > > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477