aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2009-12-05 03:49:36 +0000
committerGlenn Morris2009-12-05 03:49:36 +0000
commite11adbd8d25cd4c17b161c23fedb89c99e249f3b (patch)
treea8dd4de424caab45f8bbb17e4d5b26a5e7540d64 /doc
parent1a4f0c0a35b73783295baf9e3d68cc2b587791af (diff)
downloademacs-e11adbd8d25cd4c17b161c23fedb89c99e249f3b.tar.gz
emacs-e11adbd8d25cd4c17b161c23fedb89c99e249f3b.zip
(Diary Display): Mention View mode.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog2
-rw-r--r--doc/emacs/cal-xtra.texi28
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
172009-11-29 Juri Linkov <juri@jurta.org> 192009-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
539days to be shown in the fancy diary buffer, set the variable 539days 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.
543diary buffer, and uses invisible text to hide entries that don't apply. 543@c buffers.texi has a brief mention.
544Holidays 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
545that you can edit the buffer and save your changes directly to the diary 545commands for scrolling and searching the text. For example, @key{SPC}
546file. This method is not as flexible as the fancy method, however. For 546and @key{DEL} scroll forward and backward, and @key{s} starts an
547example, it cannot sort entries. Another disadvantage is that invisible 547incremental search. See the documentation of the function
548text can be confusing. For example, if you copy a region of text in 548@code{view-mode} for more information.
549order to paste it elsewhere, invisible text may be included. Similarly, 549
550since the diary buffer as you see it is an illusion, simply printing the 550 The alternative display method @code{diary-simple-display} shows the
551buffer may not print what you see on your screen. 551actual diary buffer, and uses invisible text to hide entries that don't
552apply. Holidays are shown in the mode line. The advantage of this
553method is that you can edit the buffer and save your changes directly to
554the diary file. This method is not as flexible as the fancy method,
555however. For example, it cannot sort entries. Another disadvantage is
556that invisible text can be confusing. For example, if you copy a region
557of text in order to paste it elsewhere, invisible text may be included.
558Similarly, since the diary buffer as you see it is an illusion, simply
559printing 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