根据文档,您可以告诉议程查看器在生成时钟表时也查看已存档的任务:
:scope The scope to consider. This can be any of the following:
nil the current buffer or narrowed region
file the full current buffer
subtree the subtree where the clocktable is located
treeN the surrounding level N tree, for example tree3
tree the surrounding level 1 tree
agenda all agenda files
("file"..) scan these files
file-with-archives current file and its archives
agenda-with-archives all agenda files, including archives
但是,org-clocktable-defaults :scope
按照建议设置似乎agenda-with-archives
无法解析filename.org_archive
我的 org 目录中的任何文件。这可以在议程视图中手动切换v A
,但不会自动发生。我如何才能默认获得此行为?
答案1
从堆栈溢出,答案暗示查看org-agenda-
变量列表。实际上,设置org-agenda-archives-mode
为t
in.emacs
将使其成为默认行为。