aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2011-05-05 21:28:53 -0700
committerGlenn Morris2011-05-05 21:28:53 -0700
commit548d0a63d6212c0baef9a3d2bf0093cceb4e1136 (patch)
tree5d5f1e80eebc4faa138aa245fcedae3a8b851af2 /doc
parent60f884b214cf23093df0a9c82314ebb5c0a3588c (diff)
downloademacs-548d0a63d6212c0baef9a3d2bf0093cceb4e1136.tar.gz
emacs-548d0a63d6212c0baef9a3d2bf0093cceb4e1136.zip
Add diary comments feature.
* lisp/calendar/diary-lib.el (diary-comment-start, diary-comment-end): New options. (diary-add-to-list): Strip comments from the displayed string. (diary-mode): Set comment-start and comment-end. * doc/emacs/cal-xtra.texi (Fancy Diary Display): Mention diary comments. * etc/NEWS: Mention this.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/cal-xtra.texi14
2 files changed, 18 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index efe031d465b..dbb274360fd 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12011-05-06 Glenn Morris <rgm@gnu.org>
2
3 * cal-xtra.texi (Fancy Diary Display): Mention diary comments.
4
12011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 52011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 6
3 * misc.texi (Emacs Server): Document `server-eval-at'. 7 * misc.texi (Emacs Server): Document `server-eval-at'.
diff --git a/doc/emacs/cal-xtra.texi b/doc/emacs/cal-xtra.texi
index b936636403a..4a51e9004fc 100644
--- a/doc/emacs/cal-xtra.texi
+++ b/doc/emacs/cal-xtra.texi
@@ -616,6 +616,20 @@ first within each day. Note how the sort command is placed at the end
616of the hook list, in case earlier members of the list change the order 616of the hook list, in case earlier members of the list change the order
617of the diary entries, or add items. 617of the diary entries, or add items.
618 618
619@vindex diary-comment-start
620 You can write @samp{comments} in diary entries, by setting the
621variables @code{diary-comment-start} and @code{diary-comment-end} to
622strings that delimit comments. The fancy display does not print
623comments. You might want to put meta-data for the use of other packages
624(e.g. the appointment package,
625@iftex
626@pxref{Appointments,,,emacs, the Emacs Manual})
627@end iftex
628@ifnottex
629@pxref{Appointments})
630@end ifnottex
631inside comments.
632
619@vindex diary-include-string 633@vindex diary-include-string
620 Your main diary file can include other files. This permits a group of 634 Your main diary file can include other files. This permits a group of
621people to share a diary file for events that apply to all of them. 635people to share a diary file for events that apply to all of them.