emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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
@ 2009-09-18 18:19 Bernt Hansen
  2009-09-18 21:03 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Bernt Hansen @ 2009-09-18 18:19 UTC (permalink / raw)
  To: emacs-orgmode

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@)")
		     )
 )

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 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
  2009-09-18 18:19 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 Bernt Hansen
@ 2009-09-18 21:03 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-09-18 21:03 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Sep 18, 2009, at 7:19 PM, Bernt Hansen wrote:

> 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@)")
> 		     )
> )
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-18 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-18 18:19 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 Bernt Hansen
2009-09-18 21:03 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).