Org Mode and Emacs Calendar
Org Mode is one of the top reasons to learn Emacs.
Useful Org key-bindings
C-SPACE
mark regionM-RET
goes to the next itemC-c C-t
makes an item TODOS-<RIGHT>
make an item TODO. You can also type TODO in front of the itemS-<UP>
change priority of a TODO.TAB
folds and unfolds and itemM-<RIGHT>
sub itemC-c [
adds the file to agendaC-c [
adds an org fileC-c C-j
jumps elsewhere in the documentC-c .
adds a date to the agendaC-c !
addds a date without adding it to the agendaC-c C-s
schedules an agenda itemC-c C-d
adds a deadlineC-c C-o
opens a link
Types of Timestamps in Org
The following formats of timestamps determine how they appear in the agenda.
- Plain timestamp
<2007-06-17 19:15-22:00>
. It can be inserted withC-c .
. Shows the agenda - Timestamp with repeater interval, e.g.
<2007-06-17 +1w>
. Shows int the agenda Diary style- Time/Date range:
<2007-06-17>--<2007-06-29>
between the first and last date of the range. Shows in the agenda - Inactive timestamps. They use square brackets
[2007-06-17]
. It can be inserted withC-c !
. Does not show in the agenda.
Timestamps can be edited with S-<LEFT>
and S-<RIGHT>
(increments by one day).
Emacs Calendar
M-x calendar
brings up the calendarmouse-3
operations on a particular datemouse-2
functions that are not related to any particular dateC-f
andC-b
move back and forth by a day.g d
goes to specific date>
and<
scrollsM-=
counts daysM-x holidays
,M-x list-holidays
shows holidaysM-x sunrises-sunset
shows it for today. Or, select a date and pressS
- For info on setting location and time zone, look up
(emacs)Sunrise/Sunset
in info M-x lunar-phases
displays dates and times for lunar phases