emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Paul Mead <paul.d.mead@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Stuck projects not ignoring inherited tags
Date: Thu, 19 Feb 2009 15:59:32 +0100	[thread overview]
Message-ID: <C9977DC6-A4DF-4758-A00E-848D37FF6B68@uva.nl> (raw)
In-Reply-To: <loom.20090213T152532-483@post.gmane.org>


On Feb 13, 2009, at 4:29 PM, Paul Mead wrote:

> Hi, I've tried to configure stuck projects to ignore my 'Someday /  
> maybe' tree,
> by tagging the heading with 'someday' and then setting org-stuck- 
> projects to
> ignore it.
>
> I've used Customize, but the code in .emacs comes out as:
>
> '(org-stuck-projects (quote ("+LEVEL=2/-DONE" ("TODO" "WAITING"  
> "AGENDA"
> "STARTED") ("someday") ""))))
>
> Unfortunately it doesn't ignore the subtrees unless I directly tag  
> each item.

That is right, the tags part (where you use "someday")
is not a full tags matcher, it does not consider inheritance,
only local tags.

However, you can do this in the initial match.  Make it

   "+LEVEL>=2-someday/-DONE"

note that the level is >=2, not =2 anymore.

Alternatively, write your own skipping condition
`using org-agenda-skip-subtree-if'.

> Is there a way of setting this up so that it ignores the inherited  
> tags?
> Also, is there any syntax documentation for this variable, as I  
> dislike using
> Customize.

The docstring of that variable does describe what its value
needs to look like.  Is that not extensive enough?

- Carsten

  reply	other threads:[~2009-02-19 14:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 15:29 Stuck projects not ignoring inherited tags Paul Mead
2009-02-19 14:59 ` Carsten Dominik [this message]
2009-02-19 15:32   ` Paul Mead
2009-02-19 15:41     ` Carsten Dominik
2009-02-19 17:52       ` Paul Mead

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=C9977DC6-A4DF-4758-A00E-848D37FF6B68@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=paul.d.mead@gmail.com \
    /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).