The commands for movement in the calendar buffer parallel the commands for movement in text. You can move forward and backward by days, weeks, months, and years.
calendar-forward-day
).
calendar-backward-day
).
calendar-forward-week
).
calendar-backward-week
).
calendar-forward-month
).
calendar-backward-month
).
calendar-forward-year
).
calendar-backward-year
).
The day and week commands are natural analogues of the usual Emacs commands for moving by characters and by lines. Just as C-n usually moves to the same column in the following line, in Calendar mode it moves to the same day in the following week. And C-p moves to the same day in the previous week.
The arrow keys are equivalent to C-f, C-b, C-n and C-p, just as they normally are in other modes.
The commands for motion by months and years work like those for weeks, but move a larger distance. The month commands M-} and M-{ move forward or backward by an entire month's time. The year commands C-x ] and C-x [ move forward or backward a whole year.
The easiest way to remember these commands is to consider months and years analogous to paragraphs and pages of text, respectively. But the commands themselves are not quite analogous. The ordinary Emacs paragraph commands move to the beginning or end of a paragraph, whereas these month and year commands move by an entire month or an entire year, which usually involves skipping across the end of a month or year.
All these commands accept a numeric argument as a repeat count. For convenience, the digit keys and the minus sign specify numeric arguments in Calendar mode even without the Meta modifier. For example, 100 C-f moves point 100 days forward from its present location.
Go to the first, previous, next, last section, table of contents.