我使用org-mode来管理我在项目工作中的时间。
我将任务分解为TODO项目并将其工作计时(org-clock-in
和org-clock-out
)。在我工作的同时,我使用org-add-note
来记录我的想法和进步。
我想要在任何给定时间段(例如,最后一天,一周,两周,在x和y之间)的报告,以确定我在给定时间正在处理的任务和注释(存储在LOGBOOK中)我在工作时写的是什么?
我已经阅读了组织模式文档,无法查看此功能是否已在某处实现,或者我是否应该从头开始,尽管我认为它是由自定义日程视图以某种方式提供的。我所看到的最接近的是议程时间线视图。
我很乐意接受指向文档的链接,这些链接可以让我编写正确的代码。任何工作片段都是明确的奖励,但我的问题的核心是概念性的,如何创建自定义视图或修改现有的时间轴视图来执行此操作?
编辑:示例文件和预期(希望)输出
* TODO Copy email from MongoDB to XML
:LOGBOOK:
CLOCK: [2015-06-01 Mon 08:40]--[2015-06-01 Mon 09:56] => 1:16
- Note taken on [2015-06-01 Mon 08:40] \\
Ops gave me the address of a Mongo Instance, getting to work
CLOCK: [2015-06-01 Mon 10:58]--[2015-06-01 Mon 11:00] => 0:02
- Note taken on [2015-06-01 Mon 10:59] \\
Ooops! Ops gave me a live instance, I have asked they put Mongo into a vm bubble.
CLOCK: [2015-06-01 Mon 11:49]--[2015-06-01 Mon 12:27] => 0:38
- Note taken on [2015-06-01 Mon 12:26] \\
The instance of Mongod in the bubble has a licensing issue (lol, this is contrived).
- Note taken on [2015-06-01 Mon 12:52] \\
I've mailed Ops requesting he investigate the problem with logging into the bubble instance.
CLOCK: [2015-06-01 Mon 14:31]--[2015-06-01 Mon 16:50] => 2:19
- Note taken on [2015-06-01 Mon 14:31] \\
Adding checksum column to Contact Table
- Note taken on [2015-06-01 Mon 15:42] \\
Job done, emacs rocks!
:END:
输出
2015-06-01 Mon 08:40 TODO Copy email from MongoDB to XML
2015-06-01 Mon 08:40 Ops gave me the address of a Mongo Instance, getting to work
2015-06-01 Mon 09:56 => 1:16
...
2015-06-01 Mon 10:58 TODO Copy email from MongoDB to XML
2015-06-01 Mon 10:59 Ooops! Ops gave me a live instance, I have asked they put Mongo into a vm bubble.
2015-06-01 Mon 11:00 => 0:02
...
2015-06-01 Mon 14:31 TODO Copy email from MongoDB to XML
2015-06-01 Mon 14:31 Adding checksum column to Contact Table
2015-06-01 Mon 15:42 Job done, emacs rocks!
2015-06-01 Mon 16:50 => 2:19