manpagez: man pages & more
info emacs
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

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:


Move point to start of week (calendar-beginning-of-week).


Move point to end of week (calendar-end-of-week).


Move point to start of month (calendar-beginning-of-month).


Move point to end of month (calendar-end-of-month).


Move point to start of year (calendar-beginning-of-year).


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.

© 2000-2024
Individual documents may contain additional copyright information.