emacs - 更改组织模式开始新一天的时间

标签 emacs org-mode

我使用 org-mode 来计时我的工作,有时我会在午夜后工作几个小时。

因此,例如,我计时的时间从 03.06.2013 晚上 10 点开始,到 04.06.2013 凌晨 2 点结束。

组织模式在凌晨 0 点将其分开,开始新的一天。但如果将 0am-2am 记录在 03.06.2013 而不是 04.06.2013 对我来说会更方便。

所以我希望能够指定组织模式在什么时间(比如凌晨 4 点)决定新的一天已经开始。

我可以通过改变 emacs 进程的时区来使用一种解决方法,但是我需要记住所有记录的时间都被转移了......不是很方便。

最佳答案

查看变量 org-extend-today-until ,在 org.el 中定义的变量.

Documentation:
The hour when your day really ends. Must be an integer.
This has influence for the following applications:

  • When switching the agenda to "today". It it is still earlier than the time given here, the day recognized as TODAY is actually yesterday.
  • When a date is read from the user and it is still before the time given here, the current date and time will be assumed to be yesterday, 23:59. Also, timestamps inserted in capture templates follow this rule.

关于emacs - 更改组织模式开始新一天的时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16899325/

相关文章:

emacs - 使用 sexp 进行组织模式捕获

emacs - 如何在 Org-mode 中为自定义 beamer 类定义部分?

c - 在Emacs中进行C开发时如何跳转到函数?

bash - 从脚本中分离 docker run 而不杀死容器

emacs - 将 emacs 中的 ^ 绑定(bind)到一些更简单的键

emacs - 突出显示emacs中的选定文本(组织模式)

emacs - 将组织导出为 ascii 而不换行

html - 如何更改 emacs 中的缓冲区 View 以隐藏 HTML 标签

emacs - 如何在更改为“完成”后将 TODO 重新归档到给定位置?

Emacs 组织模式在标题属性后插入文本