emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten@orgmode.org>
Cc: emacs-orgmode@gnu.org, jeff stern <jas@uci.edu>
Subject: Confusion about tags-todo matches and TODO keywords
Date: Mon, 21 Jun 2010 19:39:38 -0400	[thread overview]
Message-ID: <87fx0ggdl1.fsf@gollum.intra.norang.ca> (raw)

Hi Carsten,

I was talking to Jeff Stern about tags todo matching offlist and we
think the documentation for tags-todo matching can probably be improved.

The description of C-c a M at
http://orgmode.org/manual/Matching-tags-and-properties.html
states

C-c a M

    Like C-c a m, but only select headlines that are also TODO items and
    force checking subitems (see variable
    org-tags-match-list-sublevels). To exclude scheduled/deadline items,
    see the variable org-agenda-tags-todo-honor-ignore-options. Matching
    specific TODO keywords together with a tags match is also possible,
    see Tag searches.

When I read this I think TODO items is any todo keyword but this isn't
the case.  It is only non-done TODO state keywords.  This makes
tags-todo matching not work for finding tasks to archive (normally
DONE | CANCELLED keywords in my setup)

Should we explicitly state that 'headlines that are also TODO items'
does not match DONE state keywords?  Or alternatively should TODO items
and DONE items be separate (and explicitly defined) in the documentation
-- like org-todo-keywords and org-done-keywords?

I still think 'TODO keyword' matches any todo keyword defined in
org-todo-keywords and maybe I need to be re-educated :)

Thanks,
Bernt

             reply	other threads:[~2010-06-21 23:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-21 23:39 Bernt Hansen [this message]
2010-06-22  8:51 ` Confusion about tags-todo matches and TODO keywords Carsten Dominik
2010-06-22 11:24   ` Bernt Hansen
2010-06-22 12:47     ` Carsten Dominik

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=87fx0ggdl1.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=carsten@orgmode.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jas@uci.edu \
    /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).