是否有一种简便的方法(使用键盘快捷键)在不实际关闭任务的情况下删除截止日期或时间表?
答案 0 :(得分:2)
快捷方式:C-u C-c C-s
。
为什么行得通
要查找所有带有计划的方法,请执行C-h a
,输入“ schedule”。似乎只有
org-schedule is an interactive compiled Lisp function in
‘../elpa/org-9.0.9/org.el’.
(org-schedule ARG &optional TIME)
Insert the SCHEDULED: string with a timestamp to schedule a TODO item.
With one universal prefix argument, remove any scheduling date from the item.
With two universal prefix arguments, prompt for a delay cookie.
With argument TIME, scheduled at the corresponding date. TIME can
either be an Org date like "2011-07-24" or a delta like "+2d".
,因此您需要使用一个通用前缀参数调用org-schedule
。参见https://www.gnu.org/software/emacs/manual/html_node/elisp/Prefix-Command-Arguments.html。通用前缀参数仅为C-u
。在代码中,这是在org.el
中的org--deadline-or-schedule
处处理的:
(pcase arg
(`(4)
(when (and old-date log)
(org-add-log-setup (if deadline? 'deldeadline 'delschedule)
nil old-date log))
(org-remove-timestamp-with-keyword keyword)
(message (if deadline? "Item no longer has a deadline."
"Item is no longer scheduled.")))
PS:Emacs怪胎生活在https://emacs.stackexchange.com。