作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
现在使用 emacs org 模式大约一个月来跟踪我所有的项目和任务。
我全天为所有事件计时,而不仅仅是与工作相关的事件。
我的问题是——我经常忘记打卡参加一项新事件(比如吃午饭)。当我返回并打卡回到工作事件时,我需要先打卡吃午饭,然后调整它的开始时间戳。这对于午餐事件来说是可以的,但是它并没有调整我吃午餐之前之前的工作工作相关任务,所以净是之前的任务与午餐重叠并且不准确。
有没有办法改变行为,以便调整之前的任务?我不希望使用空闲功能来执行此操作;我希望自动进行调整。
最佳答案
预计到达时间:这也再次出现在邮件列表中,并且似乎最近对代码库进行了提交,它提供了另一种 [也许更好] 的方式来做到这一点。见 the mailing list discussion对于 Bastien(组织模式维护者)的输入:
S-M-[up/down] on a clock timestamp will try to update the previous/next clock timestamp too.
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.
K
等 X 分钟的工作,打卡,然后打卡进午餐,我按
K
,这提示我(现在是~1:30p):
Keep how many minutes? (default 303)
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:
关于Emacs 组织模式 : how to adjust previous clock if I forget to clock out,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11143645/
我是一名优秀的程序员,十分优秀!