如何让Emacs组织模式完成统计,以通过非todo标题进行筛选?

如何让Emacs组织模式完成统计,以通过非todo标题进行筛选?,emacs,org-mode,Emacs,Org Mode,我如何让组织模式完成统计,以过滤非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

我如何让组织模式完成统计,以过滤非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! 
*[0%]
**工作
***训练
****待办事项电子邮件安妮
****打电话给雷蒙德
***报告
****收集研究
****完成编译数据
***白皮书
****TODO收集客户端文件
***销售
****给Wendy发电子邮件了吗
**内务管理
***去邮局吧!
父标题不是TODO任务;它们是概念范畴

我希望组织模式在我标记任务完成时计算完成百分比统计信息

我尝试将组织分层待办事项统计设置为
t
,但没有效果

(setq org-hierarchical-todo-statistics nil)
为我工作!您还可以将COOKIE_数据属性设置为递归:

* <2013-03-06 Wed> [71%]
  :PROPERTIES:
  :COOKIE_DATA: recursive
  :END:
** 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!
*[71%]
:属性:
:COOKIE\u数据:递归
:完:
**工作
***训练
****待办事项电子邮件安妮
****打电话给雷蒙德
***报告
****收集研究
****完成编译数据
***白皮书
****TODO收集客户端文件
***销售
****给Wendy发电子邮件了吗
**内务管理
***去邮局吧!

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

(setq组织分层todo统计无)
如果您只希望它对某些(单个)树有效,请使用属性
:COOKIE\u 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.