Function: org-schedule
org-schedule is an interactive and byte-compiled function defined in
org.el.gz.
Signature
(org-schedule ARG &optional TIME)
Documentation
Insert a "SCHEDULED:" string with a timestamp to schedule an item.
When called interactively, this command pops up the Emacs calendar to let the user select a date.
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".
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-schedule (arg &optional time)
"Insert a \"SCHEDULED:\" string with a timestamp to schedule an item.
When called interactively, this command pops up the Emacs calendar to let
the user select a date.
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\"."
(interactive "P")
(if (and (org-region-active-p) org-loop-over-headlines-in-active-region)
(org-map-entries
(lambda () (org--deadline-or-schedule arg 'scheduled time))
nil
(if (eq org-loop-over-headlines-in-active-region 'start-level)
'region-start-level
'region)
(lambda () (when (org-invisible-p) (org-end-of-subtree nil t))))
(org--deadline-or-schedule arg 'scheduled time)))