我在项目工作时使用org-mode来管理我的时间.
我将任务分解为TODO项目并将其工作计算在他们身上(org-clock-in
和org-clock-out
).我在工作的同时org-add-note
用来记录自己的想法和进步.
我想要一个任何给定时间段(例如,最后一天,一周,两周,x和y之间)的报告,以确定我在给定时间正在处理的任务以及我写作的记录(存储在LOGBOOK中)我在工作?
我已经阅读了org-mode文档,看不出这个功能是否已经在某个地方实现,或者我是否应该从头开始,尽管我认为它是由自定义议程视图以某种方式提供的.我所看到的最接近的是议程时间线视图.
我很乐意接受指向文档的链接,这些链接可以让我编写正确的代码.任何工作片段都是明确的奖励,但我的问题的核心是概念性的,如何创建自定义视图或修改现有的时间轴视图来执行此操作?
编辑:示例文件和预期(希望)输出
* 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:
Run Code Online (Sandbox Code Playgroud)
产量
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
Run Code Online (Sandbox Code Playgroud)