diff options
| author | Glenn Morris | 2009-12-05 03:49:36 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-12-05 03:49:36 +0000 |
| commit | e11adbd8d25cd4c17b161c23fedb89c99e249f3b (patch) | |
| tree | a8dd4de424caab45f8bbb17e4d5b26a5e7540d64 /doc | |
| parent | 1a4f0c0a35b73783295baf9e3d68cc2b587791af (diff) | |
| download | emacs-e11adbd8d25cd4c17b161c23fedb89c99e249f3b.tar.gz emacs-e11adbd8d25cd4c17b161c23fedb89c99e249f3b.zip | |
(Diary Display): Mention View mode.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/emacs/cal-xtra.texi | 28 |
2 files changed, 20 insertions, 10 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index fd24c05b293..db4b58a8735 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | * calendar.texi (Displaying the Diary): Mention keys apply to calendar. | 15 | * calendar.texi (Displaying the Diary): Mention keys apply to calendar. |
| 16 | 16 | ||
| 17 | * cal-xtra.texi (Diary Display): Mention View mode. | ||
| 18 | |||
| 17 | 2009-11-29 Juri Linkov <juri@jurta.org> | 19 | 2009-11-29 Juri Linkov <juri@jurta.org> |
| 18 | 20 | ||
| 19 | * display.texi (Highlight Interactively): Actually a list of | 21 | * display.texi (Highlight Interactively): Actually a list of |
diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi index 3fba5e00434..a412d199e5f 100644 --- a/doc/emacs/cal-xtra.texi +++ b/doc/emacs/cal-xtra.texi | |||
| @@ -539,16 +539,24 @@ are no diary entries, even if that day is a holiday. If you want such | |||
| 539 | days to be shown in the fancy diary buffer, set the variable | 539 | days to be shown in the fancy diary buffer, set the variable |
| 540 | @code{diary-list-include-blanks} to @code{t}.@refill | 540 | @code{diary-list-include-blanks} to @code{t}.@refill |
| 541 | 541 | ||
| 542 | The alternative method @code{diary-simple-display} displays the actual | 542 | @c View mode does not seem to be described in the manual. |
| 543 | diary buffer, and uses invisible text to hide entries that don't apply. | 543 | @c buffers.texi has a brief mention. |
| 544 | Holidays are shown in the mode line. The advantage of this method is | 544 | The fancy diary buffer enables View mode, a minor mode that provides |
| 545 | that you can edit the buffer and save your changes directly to the diary | 545 | commands for scrolling and searching the text. For example, @key{SPC} |
| 546 | file. This method is not as flexible as the fancy method, however. For | 546 | and @key{DEL} scroll forward and backward, and @key{s} starts an |
| 547 | example, it cannot sort entries. Another disadvantage is that invisible | 547 | incremental search. See the documentation of the function |
| 548 | text can be confusing. For example, if you copy a region of text in | 548 | @code{view-mode} for more information. |
| 549 | order to paste it elsewhere, invisible text may be included. Similarly, | 549 | |
| 550 | since the diary buffer as you see it is an illusion, simply printing the | 550 | The alternative display method @code{diary-simple-display} shows the |
| 551 | buffer may not print what you see on your screen. | 551 | actual diary buffer, and uses invisible text to hide entries that don't |
| 552 | apply. Holidays are shown in the mode line. The advantage of this | ||
| 553 | method is that you can edit the buffer and save your changes directly to | ||
| 554 | the diary file. This method is not as flexible as the fancy method, | ||
| 555 | however. For example, it cannot sort entries. Another disadvantage is | ||
| 556 | that invisible text can be confusing. For example, if you copy a region | ||
| 557 | of text in order to paste it elsewhere, invisible text may be included. | ||
| 558 | Similarly, since the diary buffer as you see it is an illusion, simply | ||
| 559 | printing the buffer may not print what you see on your screen. | ||
| 552 | 560 | ||
| 553 | @vindex diary-print-entries-hook | 561 | @vindex diary-print-entries-hook |
| 554 | @findex diary-print-entries | 562 | @findex diary-print-entries |