emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Patrick Bahr <pa-ba@arcor.de>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: org-agenda-todo-list-sublevels and tags-todo
Date: Sat, 27 Jun 2009 12:09:56 +0200	[thread overview]
Message-ID: <983221C7-EB26-4277-9880-BFF6AECD7DC4@gmail.com> (raw)
In-Reply-To: <4A44FEE1.2020808@arcor.de>

On Jun 26, 2009, at 7:01 PM, Patrick Bahr wrote:

> Hello,
> I use tags-todo searches in my custom agenda commands.  
> Unfortunately, tags-todo
> does not honour the org-agenda-todo-list-sublevels variable which I  
> want to use
> in order to ignore nested todo items. Is there a way to persuade  
> tags-todo to do
> this? I know that there is a variable org-agenda-tags-todo-honor- 
> ignore-options
> which does this for org-agenda-todo-ignore-with-date etc. It would  
> be nice if
> there is something similar to this for org-agenda-todo-list-sublevels.

You know, interesting that you bring this up.
Not showing sublevels is something from the early days of Org-mode.
For a simple tag search, this might have made some sense.  However,
I was afraid that TODO items could get missing when turning this
on, so when we do a tags search that should list TODO entries
only, Org assumes that this is really a TODO search and *forces*
listing sublevels.

First of all, for tag searches, there is a separate variable
org-tags-match-list-sublevels which must be used.
However, as I said, the value is currently overruled during
tags-todo searches.

> Even
> better would be if this could be adjusted per individual tags-todo  
> search. For
> example for certain cases I do not want to see nested TODO items but  
> I do want
> to see nested WAITING items. With two tags-todo searches having  
> different
> behaviour on nested todo items this would be feasible.

I am now removing this restriction (hoping that no-one relies on
it), so setting the above variable should now work.

In fact I would urge you to *not* set it to nil globally, but to
*only* set it for specific searches, by using the options section
of the custom agenda command.  See Matt's excellent tutorial


for example on how to do this.


- Carsten

  reply	other threads:[~2009-06-27 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26 17:01 org-agenda-todo-list-sublevels and tags-todo Patrick Bahr
2009-06-27 10:09 ` Carsten Dominik [this message]
     [not found]   ` <4A460D69.8000304@arcor.de>
     [not found]     ` <B6055039-DC24-4837-9EF0-59F533B39B67@gmail.com>
2009-06-28 11:49       ` Patrick Bahr

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:

  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=983221C7-EB26-4277-9880-BFF6AECD7DC4@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pa-ba@arcor.de \


* 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


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).