From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Org-mode version 6.30trans (release_6.30d.856.ga70c); Search in agenda buffer for todo keyword gives org-agenda-error: Command not allowed in this line Date: Fri, 18 Sep 2009 14:19:15 -0400 Message-ID: <200909181819.n8IIJF4Y011526@gollum.intra.norang.ca> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Moi3I-00048d-Ta for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:19:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Moi3F-00047B-8Y for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:19:24 -0400 Received: from [199.232.76.173] (port=37837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moi3F-000478-5Q for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:19:21 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:53342) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Moi3E-0003UP-T8 for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 14:19:21 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Moi3E-0002Bm-8F for emacs-orgmode@gnu.org; Fri, 18 Sep 2009 18:19:20 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id n8IIJFar003090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 18 Sep 2009 14:19:17 -0400 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.3/8.14.3/Debian-5) with ESMTP id n8IIJF9D011529 for ; Fri, 18 Sep 2009 14:19:15 -0400 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 Everybody has a todo keyword of 'TODO' right? :) If you generate a list of tasks with C-c a t and then search for 'TODO' with c-s TODO and then repeat C-s until you're on a task with a keyword of TODO and hit RET then navigation to display the task is broken. SPC and RET both return 'org-agenda-error: Command not allowed in this line' Searching for other keywords seems to break those but fix the tasks for the previous match. WORKAROUND: Hit 'g' in the agenda to redisplay and everything is magically fixed. -Bernt Emacs : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian Package: Org-mode version 6.30trans (release_6.30d.856.ga70c) current state: (lots of stuff removed) ============== (setq org-todo-keyword-faces '(("TODO" :foreground "red" :weight bold) ("STARTED" :foreground "blue" :weight bold) ("DONE" :foreground "forest green" :weight bold) ("WAITING" :foreground "orange" :weight bold) ("SOMEDAY" :foreground "magenta" :weight bold) ("CANCELLED" :foreground "forest green" :weight bold) ("QUOTE" :foreground "red" :weight bold) ("QUOTED" :foreground "magenta" :weight bold) ("APPROVED" :foreground "forest green" :weight bold) ("EXPIRED" :foreground "forest green" :weight bold) ("REJECTED" :foreground "forest green" :weight bold) ("OPEN" :foreground "blue" :weight bold)) org-agenda-custom-commands '(("s" "Started Tasks" todo "STARTED" ((org-agenda-todo-ignore-with-date nil))) ("w" "Tasks waiting on something" tags "WAITING/!" ((org-use-tag-inheritance nil))) ("r" "Refile New Notes and Tasks" tags "LEVEL=1+REFILE" ((org-agenda-todo-ignore-with-date nil))) ("N" "Notes" tags "NOTE" nil) ("n" "Next" tags "NEXT-WAITING-CANCELLED/!" nil) ("p" "Projects" tags-todo "LEVEL=2/!-DONE-CANCELLED-WAITING" nil)) org-todo-state-tags-triggers '(("CANCELLED" ("CANCELLED" . t)) ("WAITING" ("WAITING" . t) ("NEXT")) ("SOMEDAY" ("WAITING" . t)) (done ("NEXT") ("WAITING")) ("TODO" ("WAITING") ("CANCELLED")) ("STARTED" ("WAITING") ("NEXT" . t))) org-todo-keywords '((sequence "TODO(t!)" "STARTED(s!)" "|" "DONE(d!/!)") (sequence "WAITING(w@/!)" "SOMEDAY(S!)" "OPEN(O@)" "|" "CANCELLED(c@/!)") (sequence "QUOTE(q!)" "QUOTED(Q!)" "|" "APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)") ) )