在orgmode中,我可以通过自定义命令获取本月完成的任务列表,例如
(add-to-list 'org-agenda-custom-commands
'("rm" "Current Month review"
agenda ""
((org-agenda-span 'month)
(org-agenda-show-all-dates t)
(org-agenda-start-with-clockreport-mode t)
(org-agenda-archives-mode t)
(org-agenda-start-day "01")
(org-read-date-prefer-future nil)
(org-agenda-start-with-log-mode t)
(org-agenda-overriding-header "Month in Review")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'nottodo 'done))
)))
上面的命令会跳过重复的任务,因为当前的状态是“TODO”,即使它有一个带日期的LOGBOOK
。例如
:LOGBOOK:
- State "DONE" from "TODO" [2017-05-07 Sun 20:55]
- State "DONE" from "TODO" [2017-04-07 Fri 22:42]
:END:
是否有任何解决方案可以在报告中包含已完成的重复任务...