Hi,
Okay, actually, after using this solution, there is just one thing I think that could be considered a bug (not very problematic though). Consider the following subtree:
* TOCOMPLETE Project A [0/3]
** TOCOMPLETE Subproject[0/2]
*** TODO Task 1
*** TODO Task 2
** TODO Task
I excluded the keyword TOCOMPLETE from 'org-provide-todo-statistics' so it won't appear in the statistics. This is why I get [0/3] at the top of the subtree. But if I mark the 2 tasks in the subproject as DONE, then I also want to mark the subproject itself as DONE (using a special keyword, like COMPLETED). However, marking it as COMPLETED will include it again in the statistics: instead of getting [2/3], I will get [3/4].
Is there any way to explicitly include the DONE keyword in org-provide-todo-statistics (and consequently, implicitly exclude other DONE keywords)? I tried to include DONE but it doesn't work.
Thank you very much and sorry for the nitpicking ;)
FC