emacs - 组织模式使用自定义格式编辑时间戳

标签 emacs org-mode

我粘贴默认时间戳,我可以使用 Shift-up 和 Shift-down 编辑年、月、日、时间

我想使用自定义格式

(setq-default org-display-custom-times t)
(setq org-time-stamp-custom-formats 
  '("<%d %b %Y %a" . "<%d %b %Y %a %H:%M>"))

但我无法编辑年、月、时间。仅此一天

我应该怎么做才能使用上移/下移编辑年、月、时间?我无法选择它

最佳答案

组织手册在这里解释了使用自定义时间戳的缺点:

https://orgmode.org/manual/Custom-time-format.html#Custom-time-format

The S-UP/DOWN keys can no longer be used to adjust each component of a timestamp. If the cursor is at the beginning of the stamp, S-UP/DOWN will change the stamp by one day, just like S-LEFT/RIGHT. At the end of the stamp, the time will be changed by one minute.

这没有回答你的问题吗?

关于emacs - 组织模式使用自定义格式编辑时间戳,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50233694/

相关文章:

emacs - 组织模式忽略 HTML 导出中的分页 latex 命令

emacs - 按标签分组的时间表

emacs - 如何使用自定义函数在组织模式下仅删除一些标签

emacs (org-mode/helm-google) 在 eww 中打开链接?

linux - 使用 elisp,如何在 emacs 终端仿真器中启动、发送 key 和停止命令?

windows - 在 Windows 7 上使用 emacs 运行其路径名中包含空格字符的进程

emacs - 在Emacs中禁用鼠标单击

bash - 如何在 ubuntu 上的 emacs 中运行 shell 命令同时避免 bash 作业控制错误?

emacs - 我可以将一个 org 文件内联到另一个 org 文件中吗?

android - 如何使 org-mobile 在 android 中工作?