9

組織モードの 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! 

親見出しは TODO タスクではありません。それらは概念的なカテゴリです。

タスクを完了とマークするときに、組織モードで完了率の統計を計算する必要があります。

に設定しようとしorg-hierarchical-todo-statisticsましtたが、それは役に立ちませんでした。

4

2 に答える 2

10

変数を逆方向に設定しました。次のことを試してください。

(setq org-hierarchical-todo-statistics nil)

特定の(単一の)ツリーにのみ影響を与える場合は、プロパティを使用します: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.
于 2013-03-07T14:45:09.143 に答える
3

する

(setq org-hierarchical-todo-statistics nil)

私のために働く!COOKIE_DATA プロパティを再帰的に設定することもできます。

* <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!
于 2013-03-07T14:41:37.053 に答える