Home / Emacs / Org / Key bindings
Scheduling
| Key | Description | Mnemonic |
|---|---|---|
[C-u] C-c . |
Add or set active date[-time] stamp | point in time |
[C-u] C-c ! |
Add or set inactive date[-time] stamp | |
[C-u] C-c C-s |
Set [or remove] SCHEDULED timestamp |
schedule |
[C-u] C-c C-d |
Set [or remove] DEADLINE timestamp |
deadline |
To create a date/time range, type C-c . immediately after the creation or
change of a timestamp.
Time range:
Org uses and extends the Emacs calendar for date/time entry.
| Key | Description |
|---|---|
C-v |
next 3 months in the calendar |
M-v |
previous 3 months in the calendar |
C-. |
go to today |
Org pre-selects today as the selected date. To confirm the selected date, type
RET. To specify some other date, enter yyyy-mm-dd for year yyyy, month
mm, and day dd, as per ISO 8601. To specify a date relative to the
selected date, enter a query per the table below.
| Query | Description |
|---|---|
yyyy-mm-dd |
on day yyyy-mm-dd |
hh:mm |
at time hh:mm |
hh:mm-hh:mm |
from hh:mm to hh:mm |
hh:mm+t |
from hh:mm to t hours after |
hh:mm+tu |
form hh:mm to t units u after |
d |
closest future day d |
m-d |
closest future day d in month m |
mon |
closest mon-day in the future |
-mon |
closest mon-day in the past |
Nmon |
N-th closest mon-day in the future |
-Nmon |
N-th closest mon-day in the past |
+N |
N days in the future |
-N |
N days in the past |
+Nw |
N weeks in the future |
-Nw |
N weeks in the past |
Org outputs the matching date and indicates the future with (=>F). To
specify the time, append h:m for h hours and m minutes.
To repeat, write
"<" YYYY "-" MM "-" DD " " ddd [" " HH ":" MM ["-" HH ":" MM]] RNU ">"
| where | R |
denotes the repeater type, |
N |
denotes the number of units, and | |
U |
denotes the unit. |
For the repeater type R, + repeats N units U after the original date,
.+ repeats N units U after marked done, and ++ repeats after kN units
U after the original date with the least positive k that falls into the
future. For the unit U, y represents a year, m a month, w a week, d
a day, and h an hour.
For more complicated queries, use the diary- functions. For example, the 3rd
Saturday every month is <%%(diary-float t 6 3)>.