emacs - 有没有办法让组织模式以文字显示日期?

标签 emacs org-mode

有没有办法让组织模式将时间戳日期插入并显示为单词,不是在导出中而是在组织模式缓冲区中?

也就是说,插入的日期不是 <2013-01-28 Mon>,而是会显示 2013 年 1 月 28 日星期一?

我正在查看 org-time-stamp-custom-formats 和 format-time-string 但我没有看到任何答案。

最佳答案

您可以自定义组织模式变量org-time-stamp-custom-formats:

M-x customize-variable <RET> org-time-stamp-custom-formats <RET>

然后将格式从 %m/%d/%y %a 更改为 %A, %B %d, %Y。要更改时间戳在缓冲区中的显示方式,请将点放在时间戳上,然后按 C-c C-x C-t

您可以通过使用 C-h for org-time-stamp-custom-formats 查看帮助来查看日期格式的语法。

关于emacs - 有没有办法让组织模式以文字显示日期?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14594449/

相关文章:

Emacs/Emacs Lisp : can I insert advice before interactive form? 或者如何智能预设编译命令?

emacs - 如何绑定(bind)到 s-up?

c++ - 对于使用 CMake 的程序,gdb 程序退出代码 01

r - 如何将 Emacs ESS 模式与 R markdown 结合使用?

html - org-html-publish-to-html 上的神秘消息

emacs - 使用包 authblk 在 Orgmode 中自定义多个作者隶属关系以进行 latex 导出

html - 如何使用 emacsclient -e "command"将 .org 文件转换为 html?

c++ - Emacs 24.3.1、Ubuntu 14.04.1 LTS、emacs 窗口切换中的 gdb 都崩溃了

emacs - 使用 org-mode 的 `org-edit-special' 编辑 HTML 中嵌入的 javascript/css

组织模式百分比值