From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Categories Date: Sun, 14 Oct 2007 08:14:04 +0200 Message-ID: References: <1sodf4n1wn.fsf@home.net> <87przk8nom.fsf@bzg.ath.cx> <877ils8jpu.fsf@bzg.ath.cx> <467cec015b737d0c4c69382db9d7f314@science.uva.nl> <7a716f8a807adcd13f6fd73fe45097da@science.uva.nl> 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 1Igwjs-0005eo-7G for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 02:14:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Igwjr-0005dT-C6 for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 02:14:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Igwjr-0005dH-9L for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 02:14:11 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Igwjq-0006t0-Sy for emacs-orgmode@gnu.org; Sun, 14 Oct 2007 02:14:11 -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: Richard G Riley Cc: emacs-orgmode@gnu.org On Oct 13, 2007, at 14:22, Richard G Riley wrote: > Carsten Dominik writes: > >> On Oct 12, 2007, at 19:20, Richard G Riley wrote: >>> I have a possible bug here (5.12). When embedding the CATEGORY as a >>> property e.g in my org file >> >> Yes, logging state changes is broken in 5.12, *#$&*&#&$. >> >> Fixed in 5.12c, thanks. >> >>> ,---- >>> | '(org-agenda-custom-commands >>> | (quote ( >>> | ("d" org-todo "DELEGATED" nil) >>> | ("c" org-todo "DONE|DEFERRED|CANCELLED" nil) >>> | ("w" org-todo "WAITING" nil) >>> | ("W" agenda "" >>> `---- > > I took this from a tutorial out there in google land. > >> >> >> What an innovative way of totally misusing org-agenda-custom-commands. >> `C-c a d' will indeed change a TODO state, something >> org-agenda-custom-commands >> was not designed for (and which I do not recommend...)! >> >> But "c" will not work, the symbol for creating a TODO list is >> `alltodo', not `org-todo'. > > I'm not sure I understand, but I will remove this regardless. Why are > you mentioning creating a TODO list? All the commands in org-agenda-custom-commands are intended to create some kind of list, either an agenda view, or a sparse tree. But, since in the end they call a function, someone has used this to create commands to directly jump to a state. > The commands above are "jumpt to > state commands - not create commands. So, if the code I cribbed above > is > not correct, how is the best way to add commands to agenda mode - its > not obvious how to jump straight to a state as opposed to cycling to it > manually with all the note prompts that come with that flow. The recommended way is to set up keys for the TODO keywords like this: #+SEQ_TODO: TODO(t) WAITING(w) | DONE(d) (you can also do this in lisp customization) If you then call C-c C-t with a prefix arg (i.e. C-c C-c C-t) you can directly jump to any state. If you like that a lot, you can even get this interface without the prefix argument, by setting the variable org-use-fast-todo-selection to t. - Carsten