预计到达时间:这也再次出现在邮件列表中,似乎最近对代码库的提交提供了另一种 [也许更好的] 方法来执行此操作。请参阅 the mailing list discussion 了解 Bastien(组织模式维护者)的意见:
时钟时间戳上的 S-M-[up/down] 将尝试更新上一个/下一个
时钟时间戳。
(实际上,下面的bzg's 建议就是这个东西......它只是没有包含上面的快捷方式,所以我认为他的答案看起来比上面的更难/更不吸引人,这真的很容易。)
您也可以使用org-resolve-clocks。见Resolving idle time。
基本上,你有一些标题并且被打卡了:
* Work
:LOGBOOK:
CLOCK: [2012-07-25 Wed 8:26]
:END:
我吃完午饭回来,发现我忘了打卡下班去吃午饭了。
我运行M-x org-resolve-clocks 并得到以下提示:
Select a Clock Resolution Command:
i/q/C-g Ignore this question; the same as keeping all the idle time.
k/K Keep X minutes of the idle time (default is all). If this
amount is less than the default, you will be clocked out
that many minutes after the time that idling began, and then
clocked back in at the present time.
g/G Indicate that you "got back" X minutes ago. This is quite
different from 'k': it clocks you out from the beginning of
the idle period and clock you back in X minutes ago.
s/S Subtract the idle time from the current clock. This is the
same as keeping 0 minutes.
C Cancel the open timer altogether. It will be as though you
never clocked in.
j/J Jump to the current clock, to make manual adjustments.
For all these options, using uppercase makes your final state
to be CLOCKED OUT.
因为我想Keep X 分钟的工作,打卡,然后打卡进入午餐,我按K,它提示我(现在是 ~1:30p):
Keep how many minutes? (default 303)
我可以按 Enter 保留所有这些,但假设我在 12 点左右吃午饭。这大约是 3.5 小时的工作,所以我将输入 210 RET。
现在,我打卡进入午餐并收到以下提示:
You stopped another clock 101 minutes ago; start this one from them? (y or n)
我输入y RET,午餐在上午 11:56 打卡。如果您吃完午饭回来又开始工作(或开始工作却忘记了),重复这个过程:
M-x org-resolve-clocks
K
____ RET ;; for how many minutes you at lunch
C-c C-x C-i ;; to clock in on Work again
y RET ;; clock in at when you stopped lunch
最终结果:
* Work
:LOGBOOK:
CLOCK: [2012-07-25 Wed 12:41]
CLOCK: [2012-07-25 Wed 8:26]--[2012-07-25 Wed 11:56] => 3:30
:END:
* Lunch
:LOGBOOK:
CLOCK: [2012-07-25 Wed 11:56]--[2012-07-25 Wed 12:41] => 0:45
:END:
希望这会有所帮助。组织模式时钟向导Bernt Hansen 向我解释了这一点via an org-mode mailing list thread。