From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Error in org-agenda-get-deadlines Date: Sat, 25 Jan 2014 19:43:21 +0100 Message-ID: <87wqhngawm.fsf@gmail.com> References: <87y524qlmw.fsf@gmail.com> <87zjmk5fuv.fsf@bzg.ath.cx> <871tzv3oem.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W78C5-000518-67 for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 13:43:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W78By-0000of-S8 for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 13:43:01 -0500 Received: from plane.gmane.org ([80.91.229.3]:40609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W78By-0000oZ-Kt for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 13:42:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W78Bx-0003hY-CZ for emacs-orgmode@gnu.org; Sat, 25 Jan 2014 19:42:53 +0100 Received: from e178117219.adsl.alicedsl.de ([85.178.117.219]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Jan 2014 19:42:53 +0100 Received: from tjolitz by e178117219.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 Jan 2014 19:42:53 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thorsten Jolitz writes: > Bastien writes: >> I can't reproduce this, maybe you can bissect your config >> and see what's wrong there? > > Ok, thanks, I did that and as I thought the problem was in my init file: > > ,-------------------------------------------------------------- > | (setq org-todo-keywords > | (quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)") > | (sequence ; <= undefined > | (concat > | "WAITING(w@/!)" "HOLD(h@/!)" > | "|" "CANCELLED(c@/!)" "PHONE"))))) > `-------------------------------------------------------------- > > I had that in my old init-file, but have no idea where that `sequence' > function was defined - somehow it worked. Now I had a look at 'org-todo-keywords' and found the real culprit: ,------------------------------------------------------------------------ | org-todo-keywords is a variable defined in `org.el'. | Its value is | ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d!/!)") | (sequence "WAITING(w@/!)" "HOLD(h@/!)" "|" "CANCELLED(c@/!)" "PHONE")) | | Original value was | ((sequence "TODO" "DONE")) | | | Documentation: | List of TODO entry keyword sequences and their interpretation. | This is a list of sequences. | | Each sequence starts with a symbol, either `sequence' or `type', `------------------------------------------------------------------------ It was ok or even required to start each sequence of keyword with symbol 'sequence, but using function `concat' in the sequence definition caused the error. -- cheers, Thorsten