39.1.2 Beginning or End of Week, Month or Year
A week (or month, or year) is not just a quantity of days; we think of
weeks (months, years) as starting on particular dates. So Calendar mode
provides commands to move to the beginning or end of a week, month or
year:
- C-a
- Move point to start of week (
calendar-beginning-of-week
).
- C-e
- Move point to end of week (
calendar-end-of-week
).
- M-a
- Move point to start of month (
calendar-beginning-of-month
).
- M-e
- Move point to end of month (
calendar-end-of-month
).
- M-<
- Move point to start of year (
calendar-beginning-of-year
).
- M->
- Move point to end of year (
calendar-end-of-year
).
These commands also take numeric arguments as repeat counts, with the
repeat count indicating how many weeks, months, or years to move
backward or forward.
By default, weeks begin on Sunday. To make them begin on Monday
instead, set the variable calendar-week-start-day
to 1.