如何通过非待办事项标题过滤Emacs组织模式完成统计?

inc*_*man 7 emacs org-mode

如何获取org-mode DONE统计信息以通过非todo标题过滤并更新统计信息cookie?

我有一个如下所示的组织模式文件:

* <2013-03-06 Wed> [0%]
** work
*** training
**** TODO email Anne
**** DONE call Raymond
*** reports
**** DONE collect research
**** DONE compile data
*** white papers
**** TODO collect client files
*** sales
**** DONE email Wendy                         
** housekeeping
*** DONE go to post office! 
Run Code Online (Sandbox Code Playgroud)

父标题不是TODO任务; 他们是概念类别.

当我标记任务DONE时,我想要org-mode来计算%done统计数据.

我试过设置org-hierarchical-todo-statistics,t但没有帮助.

Jon*_*pin 8

您已向后设置变量,请尝试:

(setq org-hierarchical-todo-statistics nil)
Run Code Online (Sandbox Code Playgroud)

如果您只希望它对某些(单个)树有效,请使用该属性 :COOKIE_DATA: recursive

从变量定义:

org-hierarchical-todo-statistics is a variable defined in `org.el'.
Its value is nil
Original value was t

Documentation:
Non-nil means TODO statistics covers just direct children.
When nil, all entries in the subtree are considered.
This has only an effect if `org-provide-todo-statistics' is set.
To set this to nil for only a single subtree, use a COOKIE_DATA
property and include the word "recursive" into the value.
Run Code Online (Sandbox Code Playgroud)