删除截止日期快捷方式[重复]

问题描述 投票:1回答:1

这个问题在这里已有答案:

是否有一种简单的方法(使用键盘快捷键)删除截止日期或计划而不实际关闭任务?

emacs org-mode
1个回答
2
投票

捷径:C-u C-c C-s

为什么会这样

  1. 要查找所有带计划的方法,请执行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".
  2. 所以你需要使用一个通用前缀参数调用org-schedule。见https://www.gnu.org/software/emacs/manual/html_node/elisp/Prefix-Command-Arguments.html。通用前缀参数只是C-u。在代码中,这是在org.elorg--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-geeks住在https://emacs.stackexchange.com

© www.soinside.com 2019 - 2024. All rights reserved.