comparison man/calendar.texi @ 90732:bc10a33dd40b

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 563-582) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 177-185) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-158
author Miles Bader <miles@gnu.org>
date Mon, 01 Jan 2007 03:21:06 +0000
parents 7eeafaaa9eab 0a6dd13fe067
children 95d0cdf160ea
comparison
equal deleted inserted replaced
90731:a6c97c25a666 90732:bc10a33dd40b
238 Imagine that the calendar window contains a long strip of paper with 238 Imagine that the calendar window contains a long strip of paper with
239 the months on it. Scrolling the calendar means moving the strip 239 the months on it. Scrolling the calendar means moving the strip
240 horizontally, so that new months become visible in the window. 240 horizontally, so that new months become visible in the window.
241 241
242 @table @kbd 242 @table @kbd
243 @item >
244 Scroll calendar one month forward (@code{scroll-calendar-left}).
243 @item < 245 @item <
244 Scroll calendar one month forward (@code{scroll-calendar-left}).
245 @item >
246 Scroll calendar one month backward (@code{scroll-calendar-right}). 246 Scroll calendar one month backward (@code{scroll-calendar-right}).
247 @item C-v 247 @item C-v
248 @itemx @key{NEXT} 248 @itemx @key{NEXT}
249 Scroll calendar three months forward 249 Scroll calendar three months forward
250 (@code{scroll-calendar-left-three-months}). 250 (@code{scroll-calendar-left-three-months}).
252 @itemx @key{PRIOR} 252 @itemx @key{PRIOR}
253 Scroll calendar three months backward 253 Scroll calendar three months backward
254 (@code{scroll-calendar-right-three-months}). 254 (@code{scroll-calendar-right-three-months}).
255 @end table 255 @end table
256 256
257 @kindex > @r{(Calendar mode)}
258 @findex scroll-calendar-left
257 @kindex < @r{(Calendar mode)} 259 @kindex < @r{(Calendar mode)}
258 @findex scroll-calendar-left
259 @kindex > @r{(Calendar mode)}
260 @findex scroll-calendar-right 260 @findex scroll-calendar-right
261 The most basic calendar scroll commands scroll by one month at a 261 The most basic calendar scroll commands scroll by one month at a
262 time. This means that there are two months of overlap between the 262 time. This means that there are two months of overlap between the
263 display before the command and the display after. @kbd{<} scrolls 263 display before the command and the display after. @kbd{>} scrolls the
264 the calendar contents one month to the left; that is, it moves the 264 calendar contents one month forward in time. @kbd{<} scrolls the
265 display forward in time. @kbd{>} scrolls the contents to the 265 contents one month backwards in time.
266 right, which moves backwards in time.
267 266
268 @kindex C-v @r{(Calendar mode)} 267 @kindex C-v @r{(Calendar mode)}
269 @findex scroll-calendar-left-three-months 268 @findex scroll-calendar-left-three-months
270 @kindex M-v @r{(Calendar mode)} 269 @kindex M-v @r{(Calendar mode)}
271 @findex scroll-calendar-right-three-months 270 @findex scroll-calendar-right-three-months
525 years, and allows you to choose all the holidays or one of several 524 years, and allows you to choose all the holidays or one of several
526 categories of holidays. You can use this command even if you don't have 525 categories of holidays. You can use this command even if you don't have
527 a calendar window. 526 a calendar window.
528 527
529 The dates used by Emacs for holidays are based on @emph{current 528 The dates used by Emacs for holidays are based on @emph{current
530 practice}, not historical fact. Historically, for instance, the start 529 practice}, not historical fact. For example Veteran's Day began in
531 of daylight savings time and even its existence have varied from year to 530 1919, but is shown in earlier years.
532 year, but present United States law mandates that daylight savings time
533 begins on the first Sunday in April. When the daylight savings rules
534 are set up for the United States, Emacs always uses the present
535 definition, even though it is wrong for some prior years.
536 531
537 @node Sunrise/Sunset 532 @node Sunrise/Sunset
538 @section Times of Sunrise and Sunset 533 @section Times of Sunrise and Sunset
539 @cindex sunrise and sunset 534 @cindex sunrise and sunset
540 535
1591 day in the solar and lunar calculations. 1586 day in the solar and lunar calculations.
1592 1587
1593 The values for Cambridge, Massachusetts are as follows: 1588 The values for Cambridge, Massachusetts are as follows:
1594 1589
1595 @example 1590 @example
1596 (calendar-nth-named-day 1 0 4 year) 1591 (calendar-nth-named-day 2 0 3 year)
1597 (calendar-nth-named-day -1 0 10 year) 1592 (calendar-nth-named-day 1 0 11 year)
1598 @end example 1593 @end example
1599 1594
1600 @noindent 1595 @noindent
1601 That is, the first 0th day (Sunday) of the fourth month (April) in 1596 That is, the second 0th day (Sunday) of the third month (March) in
1602 the year specified by @code{year}, and the last Sunday of the tenth month 1597 the year specified by @code{year}, and the first Sunday of the eleventh month
1603 (October) of that year. If daylight savings time were 1598 (November) of that year. If daylight savings time were
1604 changed to start on October 1, you would set 1599 changed to start on October 1, you would set
1605 @code{calendar-daylight-savings-starts} to this: 1600 @code{calendar-daylight-savings-starts} to this:
1606 1601
1607 @example 1602 @example
1608 (list 10 1 year) 1603 (list 10 1 year)