emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Randle <chris@amlog.co.uk>
To: emacs-orgmode@gnu.org
Subject: TODO dependencies and file-level keywords
Date: Mon, 11 Jan 2010 12:07:47 +0000	[thread overview]
Message-ID: <4B4B1493.3070104@amlog.co.uk> (raw)

Hi Carsten,

I'm using Org-mode 6.33f under GNU Emacs 22.1.1 and Windows XP Pro SP3.

In one of my Org files, I have the line:

#+TYP_TODO: TODO NEXT WAIT PROJ | DONE NODO

But I find that, in the snippet below for example, tasks b and c are not 
dependency-blocked, i.e. I can switch them to DONE or NODO when task a 
remains in one of the non-DONE states.

* Parent
:PROPERTIES:
:ORDERED: t
:END:
** TODO a
** TODO b, needs to wait for (a)
** TODO c, needs to wait for (a) and (b)

If I switch from file-level TODO keywords to setting them globally in my 
.emacs file, thus:

(setq org-todo-keywords
   '((type "TODO" "NEXT" "WAIT" "PROJ" "|" "DONE" "NODO")))

then dependencies work as expected, i.e. tasks b and c cannot be 
switched to DONE or NODO when task a is one of TODO, NEXT, WAIT or PROJ.

Is this as intended for some reason?

-- 
Chris Randle

             reply	other threads:[~2010-01-11 12:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 12:07 Chris Randle [this message]
2010-01-11 12:34 ` TODO dependencies and file-level keywords Carsten Dominik
2010-01-11 13:38   ` Giovanni Ridolfi
2010-01-11 14:08     ` Giovanni Ridolfi
2010-01-11 14:52       ` David Maus
2010-01-11 16:01         ` Giovanni Ridolfi
2010-01-11 17:54           ` Carsten Dominik
2010-01-12  0:33             ` Chris Randle
2010-01-12  5:30               ` Carsten Dominik
2010-01-12  9:46             ` Giovanni Ridolfi

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=4B4B1493.3070104@amlog.co.uk \
    --to=chris@amlog.co.uk \
    --cc=emacs-orgmode@gnu.org \
    /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 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).