all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Eraldo Helal <office@eraldo.at>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: todo sequence with exceptions
Date: Sat, 21 Mar 2009 21:51:16 -0500	[thread overview]
Message-ID: <m2hc1mclsr.fsf@fastmail.fm> (raw)
In-Reply-To: <938fae2d0903211539p174b3dcdvdb3712896c833f9d@mail.gmail.com> (Eraldo Helal's message of "Sat\, 21 Mar 2009 23\:39\:40 +0100")


Hi Eraldo,

Eraldo Helal <office@eraldo.at> 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

  parent reply	other threads:[~2009-03-22  2:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21 22:39 todo sequence with exceptions Eraldo Helal
2009-03-22  2:49 ` Eraldo Helal
2009-03-22  2:51 ` Matthew Lundin [this message]
2009-03-22  3:37   ` Eraldo Helal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2hc1mclsr.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=office@eraldo.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.