emacs calendar functions
Open the calendar:
(You can close the calendar with
q, which invokes
C-for arrow-right is
C-bor arrow-left is
C-nor arrow-down is
C-por arrow-up is
- Use the
M-<n>prefix to move a multiple of the above. E.g.
M-90 <right-arrow>) moves forward 90 days. (In calendar mode, the meta key is optional, simply
90 <right-arrow>will move forward 90 days,
16 <down-arrow>will move forward 16 weeks, etc.)
owill let you interactively select a date.
.will return to today
- (Right-click on the calendar will generally open up a context-menu about these.)
p dis (calendar-print-day-of-year)
C-<space>, move to another date and type
(calendar-count-days-region)(show the number of days between the dates (including the endpoints).
H yto generate an html-format calendar (month and year, respectively). (
t <something>generates a number of interesting calendars in TeX, if you are so inclined.)
hto see known holidays for the selected date, or
ato see all holidays for the three month period that is displayed. Use
M-x list-holidaysfor even more. Use
Mto see a list of lunar phases. Use
Sto see sunrise/sunset information.
Also see the emacs manual.
Published 15 Apr 2013