emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Highlighting Sparse Tree Leaves
@ 2008-02-14 23:36 Wanrong Lin
  2008-02-18 11:18 ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: Wanrong Lin @ 2008-02-14 23:36 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Is it possible to highlighting only the sparse tree leaves, or even 
better, highlighting the whole sparse tree but with leaves in a special 
face?

The motivation for such a feature is this:

Suppose I have a task tree like this:

* TODO Task A
*** TODO Task A.1
***** TODO Task A.1.1
* TODO Task B
*** TODO Task B.1
***** TODO Task B.1.1
***** TODO Task B.1.2

If I do a "org-sparse-tree", all those lines are highlighted, giving an 
impression that I have a lot of open tasks, but in reality I only have 
three tasks: A.1.1, B.1.1 and B.1.2, as the higher level tasks are 
automatically done if those are done. So it would be nice to highlight 
those leaves in a special face. Also, suppose both B.1.1 and B.1.2 are 
done, then Task B.1 should be highlighted as a leaf.

Hope the above makes some sense. Thank you very much for giving it a 
thought.

Wanrong

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-02-22  7:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-14 23:36 Highlighting Sparse Tree Leaves Wanrong Lin
2008-02-18 11:18 ` Carsten Dominik
2008-02-18 15:19   ` Wanrong Lin
2008-02-21 16:42     ` Carsten Dominik
2008-02-21 22:53       ` Wanrong Lin
2008-02-22  7:07         ` Carsten Dominik

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