我将其添加到 .emacs:
(setq org-support-shift-select t)
因此,每次将 TODO 项目设置为完成时,我都会得到以下信息:
* DONE Important task
CLOSED: [2014-09-04 Thu 18:44]
是否可以在时间戳中添加秒?所以我可以得到这个:
* DONE Important task
CLOSED: [2014-09-04 Thu 18:44:31]
This page说我可以自定义时间戳格式。但我不明白,该怎么做。我试过这个:
(setq org-time-stamp-custom-formats '("<%m/%d/%y %a>" "<%m/%d/%y %a %H:%M:%S>"))
但是这不起作用。
最佳答案
试试这个:
(setq org-time-stamp-formats
'("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M:%S>"))
请注意,它被定义为常量,因此不鼓励您这样做 摆弄它(但你仍然可以:)。
关于emacs - 如何向组织模式时间戳添加秒数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25668558/