【发布时间】:2014-04-22 11:34:54
【问题描述】:
我希望我的 TODO 具有以下格式的时间戳:
<%d/%m/%Y %a [%H:%M]>
在我的.emacs 我有以下内容:
(custom-set-variables
'(org-display-custom-times t)
'(org-time-stamp-custom-formats (quote ("<%d/%m/%Y %a [%H:%M]>" . "<%d %m %Y %a [%H:%M]>"))))
通过检查该变量的值
M-x describe-variable RET org-time-stamp-custom-formats
显示:
org-time-stamp-custom-formats is a variable defined in `org.el'.
Its value is ("<%d/%m/%Y %a [%H:%M]>" . "<%d %m %Y %a [%H:%M]>")
Documentation:
Custom formats for time stamps. See `format-time-string' for the syntax.
These are overlaid over the default ISO format if the variable
`org-display-custom-times' is set. Time like %H:%M should be at the
end of the second format. The custom formats are also honored by export
commands, if custom time display is turned on at the time of export.
You can customize this variable.
但是,当开始行动时(通过按 C-c C-s),我的 TODO 总是安排在 00:00:
** TODO SCHEDULED: <22/04/2014 Tue [00:00]>
我想我的配置出了点问题。如何更正我的时间戳配置?
【问题讨论】:
标签: emacs customization org-mode