emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: emacs-orgmode@gnu.org
Subject: Re: How to match TODO items not SCHEDULED or DEADLINE'd
Date: Wed, 22 Apr 2015 12:10:59 -0400	[thread overview]
Message-ID: <87tww82lf0.fsf@yale.edu> (raw)
In-Reply-To: 874mo8duxn.fsf@nicolasgoaziou.fr

Nicolas Goaziou writes:

> jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes: 
> 
>> Nikolaus Rath writes: 
>>> Actually, it seems it does not work for some cases. If I have 
>>> a file with  
>>> 
>>> * TODO Item 1 * TODO Item 2   SCHEDULED: <2015-04-24 Fri> * 
>>> Heading ** TODO Subitem 1 ** TODO Subitem 1   SCHEDULED: 
>>> <2015-04-24 Fri>  
>>> 
>>> end do the above procedure, I'm getting  
>>> 
>>> * TODO Item 1 * TODO Item 2...  * Heading ** TODO Subitem 1...  
>>> 
>>> Why is "Item 2" not being hidden? 
>> 
>> That is a good question, I don't know. It fails for me as well 
>> in the org-sparse-tree, but not in the agenda. In the agenda it 
>> only shows Item 1 and Subitem 1, as it should. I had never used 
>> the sparse tree, it might by what it is supposed to do, perhaps 
>> it shows by default all entries up to a certain level. 
>> Hopefully someone can answer, if not perhaps a new thread with 
>> just that issue could serve as a bug report. 
> 
> If you're using development version, see 
> `org-show-context-detail'. 

Thank you that answers the question, that list has (default . 
ancestors) in the default. Nikolaus, for the sparse trees to look 
like you want, probably you want to add:

#+BEGIN_SRC emacs-lisp
  (add-to-list 'org-show-context-detail '(tags-tree . minimal))
  (add-to-list 'org-show-context-detail '(occur-tree . minimal))

#+END_SRC 

Best,
-- 
Jorge.

  reply	other threads:[~2015-04-22 16:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-18  3:35 Sparse tree for undated TODOs, or hierachical agenda? Nikolaus Rath
2015-04-21  1:16 ` Nikolaus Rath
2015-04-21 14:10 ` Jorge A. Alfaro-Murillo
2015-04-21 15:35   ` Nikolaus Rath
2015-04-21 17:11     ` Jorge A. Alfaro-Murillo
2015-04-21 21:08       ` Nikolaus Rath
2015-04-21 23:03         ` How to match TODO items not SCHEDULED or DEADLINE'd (was: Sparse tree for undated TODOs, or hierachical agenda?) Nikolaus Rath
2015-04-22 14:03           ` How to match TODO items not SCHEDULED or DEADLINE'd Jorge A. Alfaro-Murillo
2015-04-22 15:49             ` Nicolas Goaziou
2015-04-22 16:10               ` Jorge A. Alfaro-Murillo [this message]
2015-04-21 23:08         ` Sparse tree for undated TODOs, or hierachical agenda? Nikolaus Rath
2015-04-22 13:52         ` Jorge A. Alfaro-Murillo

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=87tww82lf0.fsf@yale.edu \
    --to=jorge.alfaro-murillo@yale.edu \
    --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).