Mercurial > emacs
comparison man/calendar.texi @ 79097:ea54580c374d
(Diary): Clarify text about diary file example.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 16 Oct 2007 02:24:45 +0000 |
parents | 7742aa399ad3 |
children | 70b8ad88064e |
comparison
equal
deleted
inserted
replaced
79096:0508bef99119 | 79097:ea54580c374d |
---|---|
987 their dates. Then Emacs can automatically pick out and display the | 987 their dates. Then Emacs can automatically pick out and display the |
988 events for today, for the immediate future, or for any specified | 988 events for today, for the immediate future, or for any specified |
989 date. | 989 date. |
990 | 990 |
991 The name of the diary file is specified by the variable | 991 The name of the diary file is specified by the variable |
992 @code{diary-file}; @file{~/diary} is the default. A sample diary file | 992 @code{diary-file}; @file{~/diary} is the default. Here's an example |
993 is (note that the file format is essentially the same as that used by | 993 showing what that file looks like: |
994 the external shell utility @samp{calendar}): | |
995 | 994 |
996 @example | 995 @example |
997 12/22/1988 Twentieth wedding anniversary!! | 996 12/22/1988 Twentieth wedding anniversary!! |
998 &1/1. Happy New Year! | 997 &1/1. Happy New Year! |
999 10/22 Ruth's birthday. | 998 10/22 Ruth's birthday. |
1006 April 15, 1989 Income tax due. | 1005 April 15, 1989 Income tax due. |
1007 &* 15 time cards due. | 1006 &* 15 time cards due. |
1008 @end example | 1007 @end example |
1009 | 1008 |
1010 @noindent | 1009 @noindent |
1011 This example uses extra spaces to align the event descriptions of most | 1010 This format is essentially the same as the one used by the system's |
1012 of the entries. Such formatting is purely a matter of taste. | 1011 @program{calendar} utility. This example uses extra spaces to align |
1012 the event descriptions of most of the entries. Such formatting is | |
1013 purely a matter of taste. | |
1013 | 1014 |
1014 Although you probably will start by creating a diary manually, Emacs | 1015 Although you probably will start by creating a diary manually, Emacs |
1015 provides a number of commands to let you view, add, and change diary | 1016 provides a number of commands to let you view, add, and change diary |
1016 entries. | 1017 entries. |
1017 | 1018 |