Function: calendar-mode
calendar-mode is an interactive and byte-compiled function defined in
calendar.el.gz.
Signature
(calendar-mode)
Documentation
A major mode for the calendar window.
For a complete description, see the info node (emacs)Calendar/Diary.
calendar-not-implemented
calendar-not-implemented
calendar-not-implemented
- negative-argument
. calendar-goto-today
< calendar-scroll-right
<down> calendar-forward-week
<left> calendar-backward-day
<next> calendar-scroll-left-three-months
<prior> calendar-scroll-right-three-months
<right> calendar-forward-day
<up> calendar-backward-week
<vertical-scroll-bar> <drag-mouse-1> calendar-scroll-left
<vertical-scroll-bar> <drag-mouse-3> calendar-scroll-right
<vertical-scroll-bar> <mouse-1> calendar-scroll-left
<vertical-scroll-bar> <mouse-3> calendar-scroll-right
> calendar-scroll-left
? calendar-goto-info-node
A a appt-add
A d appt-delete
C-@ calendar-set-mark
C-M-@ calendar-not-implemented
C-M-h calendar-not-implemented
C-SPC calendar-set-mark
C-a calendar-beginning-of-week
C-b calendar-backward-day
C-c C-l calendar-redraw
C-e calendar-end-of-week
C-f calendar-forward-day
C-n calendar-forward-week
C-p calendar-backward-week
C-v calendar-scroll-left-three-months
C-w calendar-not-implemented
C-x < calendar-scroll-right
C-x > calendar-scroll-left
C-x C-l calendar-not-implemented
C-x C-p RET calendar-not-implemented
C-x C-u calendar-not-implemented
C-x C-x calendar-exchange-point-and-mark
C-x [ calendar-backward-year
C-x ] calendar-forward-year
C-x h calendar-not-implemented
C-x n n calendar-not-implemented
D diary-view-other-diary-entries
DEL scroll-other-window-down
H m cal-html-cursor-month
H y cal-html-cursor-year
M calendar-lunar-phases
M-< calendar-beginning-of-year
M-= calendar-count-days-region
M-> calendar-end-of-year
M-@ calendar-not-implemented
M-a calendar-beginning-of-month
M-e calendar-end-of-month
M-h calendar-not-implemented
M-v calendar-scroll-right-three-months
M-{ calendar-backward-month
M-} calendar-forward-month
S calendar-sunrise-sunset
S-SPC scroll-other-window-down
SPC scroll-other-window
SPC..~ undefined
a calendar-list-holidays
d diary-view-entries
g C calendar-chinese-goto-date
g D calendar-goto-day-of-year
g a calendar-astro-goto-day-number
g b calendar-bahai-goto-date
g c calendar-iso-goto-date
g d calendar-goto-date
g e calendar-ethiopic-goto-date
g f calendar-french-goto-date
g h calendar-hebrew-goto-date
g i calendar-islamic-goto-date
g j calendar-julian-goto-date
g k calendar-coptic-goto-date
g m l calendar-mayan-goto-long-count-date
g m n c calendar-mayan-next-round-date
g m n h calendar-mayan-next-haab-date
g m n t calendar-mayan-next-tzolkin-date
g m p c calendar-mayan-previous-round-date
g m p h calendar-mayan-previous-haab-date
g m p t calendar-mayan-previous-tzolkin-date
g p calendar-persian-goto-date
g w calendar-iso-goto-week
h calendar-cursor-holidays
i B d diary-bahai-insert-entry
i B m diary-bahai-insert-monthly-entry
i B y diary-bahai-insert-yearly-entry
i C a diary-chinese-insert-anniversary-entry
i C d diary-chinese-insert-entry
i C m diary-chinese-insert-monthly-entry
i C y diary-chinese-insert-yearly-entry
i a diary-insert-anniversary-entry
i b diary-insert-block-entry
i c diary-insert-cyclic-entry
i d diary-insert-entry
i h d diary-hebrew-insert-entry
i h m diary-hebrew-insert-monthly-entry
i h y diary-hebrew-insert-yearly-entry
i i d diary-islamic-insert-entry
i i m diary-islamic-insert-monthly-entry
i i y diary-islamic-insert-yearly-entry
i m diary-insert-monthly-entry
i t todo-insert-item-from-calendar
i w diary-insert-weekly-entry
i y diary-insert-yearly-entry
m diary-mark-entries
o calendar-other-month
p C calendar-chinese-print-date
p a calendar-astro-print-day-number
p b calendar-bahai-print-date
p c calendar-iso-print-date
p d calendar-print-day-of-year
p e calendar-ethiopic-print-date
p f calendar-french-print-date
p h calendar-hebrew-print-date
p i calendar-islamic-print-date
p j calendar-julian-print-date
p k calendar-coptic-print-date
p m calendar-mayan-print-date
p o calendar-print-other-dates
p p calendar-persian-print-date
q calendar-exit
s diary-show-all-entries
t M cal-tex-cursor-month-landscape
t Y cal-tex-cursor-year-landscape
t d cal-tex-cursor-day
t f W cal-tex-cursor-filofax-week
t f d cal-tex-cursor-filofax-daily
t f w cal-tex-cursor-filofax-2week
t f y cal-tex-cursor-filofax-year
t m cal-tex-cursor-month
t w 1 cal-tex-cursor-week
t w 2 cal-tex-cursor-week2
t w 3 cal-tex-cursor-week-iso
t w 4 cal-tex-cursor-week-monday
t w W cal-tex-cursor-week2-summary
t y cal-tex-cursor-year
u calendar-unmark
x calendar-mark-holidays
..\x3FFFFF digit-argument
This mode runs the hook calendar-mode-hook, as the final or
penultimate step during initialization.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/calendar.el.gz
(define-derived-mode calendar-mode nil "Calendar"
"A major mode for the calendar window.
For a complete description, see the info node `Calendar/Diary'.
\\<calendar-mode-map>\\{calendar-mode-map}"
(setq buffer-read-only t
buffer-undo-list t
indent-tabs-mode nil)
(setq-local scroll-margin 0) ; bug#10379
(calendar-update-mode-line)
(make-local-variable 'calendar-mark-ring)
(make-local-variable 'displayed-month) ; month in middle of window
(make-local-variable 'displayed-year) ; year in middle of window
;; Most functions only work if displayed-month and displayed-year are set,
;; so let's make sure they're always set. Most likely, this will be reset
;; soon in calendar-generate, but better safe than sorry.
(unless (boundp 'displayed-month) (setq displayed-month 1))
(unless (boundp 'displayed-year) (setq displayed-year 2001)))