From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eraldo Helal Subject: Re: todo sequence with exceptions Date: Sun, 22 Mar 2009 04:37:41 +0100 Message-ID: <938fae2d0903212037j47704548y5f013af99c5f56c7@mail.gmail.com> References: <938fae2d0903211539p174b3dcdvdb3712896c833f9d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1910156398==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlEVM-0006e3-Vg for emacs-orgmode@gnu.org; Sat, 21 Mar 2009 23:37:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlEVL-0006cy-T2 for emacs-orgmode@gnu.org; Sat, 21 Mar 2009 23:37:44 -0400 Received: from [199.232.76.173] (port=33640 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlEVL-0006cp-Px for emacs-orgmode@gnu.org; Sat, 21 Mar 2009 23:37:43 -0400 Received: from ey-out-1920.google.com ([74.125.78.149]:9488) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LlEVL-0004sZ-CS for emacs-orgmode@gnu.org; Sat, 21 Mar 2009 23:37:43 -0400 Received: by ey-out-1920.google.com with SMTP id 13so229104eye.24 for ; Sat, 21 Mar 2009 20:37:41 -0700 (PDT) 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: Matthew Lundin Cc: Org-Mode --===============1910156398== Content-Type: multipart/alternative; boundary=0015174be0d049f6790465acdf60 --0015174be0d049f6790465acdf60 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Yep... that is exactly what I was looking for. Thanks for the reply! On Sun, Mar 22, 2009 at 03:51, Matthew Lundin wrote: > > Hi Eraldo, > > Eraldo Helal writes: > > > I have the following todo states: > > TODO ACTION WAITING DONE and CANCELED > > I would like my sequence to be: > > TODO > ACTION > WAITING > DONE > > and have WAITING and CANCELED extra somehow. > > so that I enter WAITING and CANCELED with a prefix or so. > > is there a way to get that with the standard featues? > > (without lisp programming) > > I believe the following will do what you're looking for. > > --8<---------------cut here---------------start------------->8--- > (setq org-use-fast-todo-selection t) > > (setq org-todo-keywords '((sequence "TODO(t)" "ACTION(a)" "|" "DONE(d)") > (sequence "WAITING(w)" "|" "CANCELED(c)"))) > --8<---------------cut here---------------end--------------->8--- > > There's a short FAQ on fast todo selection: > > > http://orgmode.org/worg/org-faq.php#select-TODO-keywords-with-tag-like-interface > > Regards, > > Matt > --0015174be0d049f6790465acdf60 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yep... that is exactly what I was looking for.

Thanks for the reply!=

On Sun, Mar 22, 2009 at 03:51, Matthew L= undin <mdl@imapmai= l.org> wrote:

Hi Eraldo,

Eraldo Helal <office@eraldo.at&g= t; writes:

> I have the following todo states:
> TODO ACTION WAITING DONE and CANCELED
> I would like my sequence to be:
> TODO > ACTION > WAITING > DONE
> and have WAITING and CANCELED extra somehow.
> =C2=A0so that I enter=C2=A0 WAITING and CANCELED with a prefix or so.<= br> > is there a way to get that with the standard featues?
> (without lisp programming)

I believe the following will do what you're looking for.
--8<---------------cut here---------------start------------->8---
(setq org-use-fast-todo-selection t)

(setq org-todo-keywords '((sequence "TODO(t)" "ACTION(a)= " "|" "DONE(d)")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(sequence "WAITING(w)" "|" "CANCE= LED(c)")))
--8<---------------cut here---------------end--------------->8---

There's a short FAQ on fast todo selection:

http://orgmode.org/worg/org-faq.php#sel= ect-TODO-keywords-with-tag-like-interface

Regards,

Matt

--0015174be0d049f6790465acdf60-- --===============1910156398== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1910156398==--