Mercurial > emacs
comparison man/calendar.texi @ 60294:8c6bb7dbf4fb
From Matt Hodges <MPHodges@member.fsf.org>:
(General Calendar): Document binding of scroll-other-window-down.
(Mayan Calendar): Fix earliest date.
(Time Intervals): Document timeclock-change. Fix
timeclock-ask-before-exiting documentation.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 27 Feb 2005 20:32:53 +0000 |
parents | 080df55d2c06 |
children | eb947dcafb80 |
comparison
equal
deleted
inserted
replaced
60293:7b3bc20cd4d8 | 60294:8c6bb7dbf4fb |
---|---|
289 @item p d | 289 @item p d |
290 Display day-in-year (@code{calendar-print-day-of-year}). | 290 Display day-in-year (@code{calendar-print-day-of-year}). |
291 @item C-c C-l | 291 @item C-c C-l |
292 Regenerate the calendar window (@code{redraw-calendar}). | 292 Regenerate the calendar window (@code{redraw-calendar}). |
293 @item SPC | 293 @item SPC |
294 Scroll the next window (@code{scroll-other-window}). | 294 Scroll the next window up (@code{scroll-other-window}). |
295 @item DEL | |
296 Scroll the next window down (@code{scroll-other-window-down}). | |
295 @item q | 297 @item q |
296 Exit from calendar (@code{exit-calendar}). | 298 Exit from calendar (@code{exit-calendar}). |
297 @end table | 299 @end table |
298 | 300 |
299 @kindex p d @r{(Calendar mode)} | 301 @kindex p d @r{(Calendar mode)} |
312 (@code{redraw-calendar}) to redraw it. (This can only happen if you use | 314 (@code{redraw-calendar}) to redraw it. (This can only happen if you use |
313 non-Calendar-mode editing commands.) | 315 non-Calendar-mode editing commands.) |
314 | 316 |
315 @kindex SPC @r{(Calendar mode)} | 317 @kindex SPC @r{(Calendar mode)} |
316 In Calendar mode, you can use @kbd{SPC} (@code{scroll-other-window}) | 318 In Calendar mode, you can use @kbd{SPC} (@code{scroll-other-window}) |
317 to scroll the other window. This is handy when you display a list of | 319 and @kbd{DEL} (@code{scroll-other-window-down}) to scroll the other |
318 holidays or diary entries in another window. | 320 window up or down, respectively. This is handy when you display a list |
321 of holidays or diary entries in another window. | |
319 | 322 |
320 @kindex q @r{(Calendar mode)} | 323 @kindex q @r{(Calendar mode)} |
321 @findex exit-calendar | 324 @findex exit-calendar |
322 To exit from the calendar, type @kbd{q} (@code{exit-calendar}). This | 325 To exit from the calendar, type @kbd{q} (@code{exit-calendar}). This |
323 buries all buffers related to the calendar, selecting other buffers. | 326 buries all buffers related to the calendar, selecting other buffers. |
435 | 438 |
436 @kindex a @r{(Calendar mode)} | 439 @kindex a @r{(Calendar mode)} |
437 @findex list-calendar-holidays | 440 @findex list-calendar-holidays |
438 To get even more detailed information, use the @kbd{a} command, which | 441 To get even more detailed information, use the @kbd{a} command, which |
439 displays a separate buffer containing a list of all holidays in the | 442 displays a separate buffer containing a list of all holidays in the |
440 current three-month range. You can use @key{SPC} in the calendar window | 443 current three-month range. You can use @key{SPC} and @key{DEL} in the |
441 to scroll that list. | 444 calendar window to scroll that list up and down, respectively. |
442 | 445 |
443 @findex holidays | 446 @findex holidays |
444 The command @kbd{M-x holidays} displays the list of holidays for the | 447 The command @kbd{M-x holidays} displays the list of holidays for the |
445 current month and the preceding and succeeding months; this works even | 448 current month and the preceding and succeeding months; this works even |
446 if you don't have a calendar window. If you want the list of holidays | 449 if you don't have a calendar window. If you want the list of holidays |
859 @kindex g m @r{(Calendar mode)} | 862 @kindex g m @r{(Calendar mode)} |
860 @findex calendar-goto-mayan-long-count-date | 863 @findex calendar-goto-mayan-long-count-date |
861 @noindent | 864 @noindent |
862 Thus, the long count date 12.16.11.16.6 means 12 baktun, 16 katun, 11 | 865 Thus, the long count date 12.16.11.16.6 means 12 baktun, 16 katun, 11 |
863 tun, 16 uinal, and 6 kin. The Emacs calendar can handle Mayan long | 866 tun, 16 uinal, and 6 kin. The Emacs calendar can handle Mayan long |
864 count dates as early as 7.17.18.13.1, but no earlier. When you use the | 867 count dates as early as 7.17.18.13.3, but no earlier. When you use the |
865 @kbd{g m l} command, type the Mayan long count date with the baktun, | 868 @kbd{g m l} command, type the Mayan long count date with the baktun, |
866 katun, tun, uinal, and kin separated by periods. | 869 katun, tun, uinal, and kin separated by periods. |
867 | 870 |
868 @findex calendar-previous-tzolkin-date | 871 @findex calendar-previous-tzolkin-date |
869 @findex calendar-next-tzolkin-date | 872 @findex calendar-next-tzolkin-date |
1508 The timeclock feature adds up time intervals, so you can (for | 1511 The timeclock feature adds up time intervals, so you can (for |
1509 instance) keep track of how much time you spend working. | 1512 instance) keep track of how much time you spend working. |
1510 | 1513 |
1511 @findex timeclock-in | 1514 @findex timeclock-in |
1512 @findex timeclock-out | 1515 @findex timeclock-out |
1516 @findex timeclock-change | |
1513 @findex timeclock-workday-remaining | 1517 @findex timeclock-workday-remaining |
1514 @findex timeclock-when-to-leave | 1518 @findex timeclock-when-to-leave |
1515 Use the @kbd{M-x timeclock-in} command when you start working on a | 1519 Use the @kbd{M-x timeclock-in} command when you start working on a |
1516 project, and @kbd{M-x timeclock-out} command when you're done. Each | 1520 project, and @kbd{M-x timeclock-out} command when you're done. Each |
1517 time you do this, it adds one time interval to the record of the project. | 1521 time you do this, it adds one time interval to the record of the |
1522 project. You can change to working on a different project with @kbd{M-x | |
1523 timeclock-change}. | |
1518 | 1524 |
1519 Once you've collected data from a number of time intervals, you can use | 1525 Once you've collected data from a number of time intervals, you can use |
1520 @kbd{M-x timeclock-workday-remaining} to see how much time is left to | 1526 @kbd{M-x timeclock-workday-remaining} to see how much time is left to |
1521 work today (assuming a typical average of 8 hours a day), and @kbd{M-x | 1527 work today (assuming a typical average of 8 hours a day), and @kbd{M-x |
1522 timeclock-when-to-leave} which will calculate when you're ``done.'' | 1528 timeclock-when-to-leave} which will calculate when you're ``done.'' |
1527 workday in the mode line, either customize the | 1533 workday in the mode line, either customize the |
1528 @code{timeclock-modeline-display} variable and set its value to | 1534 @code{timeclock-modeline-display} variable and set its value to |
1529 @code{t}, or invoke the @kbd{M-x timeclock-modeline-display} command. | 1535 @code{t}, or invoke the @kbd{M-x timeclock-modeline-display} command. |
1530 | 1536 |
1531 @vindex timeclock-ask-before-exiting | 1537 @vindex timeclock-ask-before-exiting |
1532 Terminating the current Emacs session might or might not mean that | 1538 Terminating the current Emacs session might or might not mean that you |
1533 you have stopped working on the project. If you'd like Emacs to ask | 1539 have stopped working on the project and, by default, Emacs queries this. |
1534 you about this, set the value of the variable | 1540 You can, however, set the value of the variable |
1535 @code{timeclock-ask-before-exiting} to @code{t} (via @kbd{M-x | 1541 @code{timeclock-ask-before-exiting} to @code{nil} (via @kbd{M-x |
1536 customize}). By default, only an explicit @kbd{M-x timeclock-out} | 1542 customize}) to avoid this behaviour; then, only an explicit @kbd{M-x |
1537 tells Emacs that the current interval is over. | 1543 timeclock-out} or @kbd{M-x timeclock-change} will tell Emacs that the |
1544 current interval is over. | |
1538 | 1545 |
1539 @cindex @file{.timelog} file | 1546 @cindex @file{.timelog} file |
1540 @vindex timeclock-file | 1547 @vindex timeclock-file |
1541 @findex timeclock-reread-log | 1548 @findex timeclock-reread-log |
1542 The timeclock functions work by accumulating the data in a file | 1549 The timeclock functions work by accumulating the data in a file |